Structure and dynamics of a partially folded protein are decoupled from its mechanism of aggregation