Skip to content

Commit c1ac5e3

Browse files
committed
correcting call to get_molecule_container
1 parent add9ce1 commit c1ac5e3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CodeEntropy/dihedral_tools.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ def build_conformational_states(
6666

6767
for group_id in groups.keys():
6868
molecules = groups[group_id]
69-
mol = self._universe_operations.get_molecule_container(data_container, 0)
69+
mol = self._universe_operations.get_molecule_container(
70+
data_container, molecules[0]
71+
)
7072
num_residues = len(mol.residues)
7173
dihedrals_ua = [[] for _ in range(num_residues)]
7274
peaks_ua = [{} for _ in range(num_residues)]

0 commit comments

Comments
 (0)