Skip to content

Commit 46c6f9d

Browse files
committed
get_dihedrals function calls a heavy atom-only universe so selecting for non-hydrogen atoms within the function is no longer necessary
1 parent 4368199 commit 46c6f9d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CodeEntropy/LevelFunctions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ def get_dihedrals(data_container, level):
181181

182182
# if united atom level, read dihedrals from MDAnalysis universe
183183
if level == "united_atom":
184-
# only use dihedrals made of heavy atoms
185-
heavy_atom_group = data_container.select_atoms("not name H*")
186-
dihedrals = heavy_atom_group.dihedrals
184+
dihedrals = data_container.dihedrals
187185

188186
# if residue level, looking for dihedrals involving residues
189187
if level == "residue":

0 commit comments

Comments
 (0)