File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,7 +219,9 @@ def _identify_peaks(
219219 Returns:
220220 List of peaks per dihedral (peak_values[dihedral_index] -> list of peaks).
221221 """
222- rep_mol = self ._universe_operations .extract_fragment (data_container , 0 )
222+ rep_mol = self ._universe_operations .extract_fragment (
223+ data_container , molecules [0 ]
224+ )
223225 number_frames = len (rep_mol .trajectory )
224226 num_residues = len (rep_mol .residues )
225227
@@ -421,7 +423,9 @@ def _assign_states(
421423 Returns:
422424 List of state labels (strings).
423425 """
424- rep_mol = self ._universe_operations .extract_fragment (data_container , 0 )
426+ rep_mol = self ._universe_operations .extract_fragment (
427+ data_container , molecules [0 ]
428+ )
425429 number_frames = len (rep_mol .trajectory )
426430 num_residues = len (rep_mol .residues )
427431
You can’t perform that action at this time.
0 commit comments