You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# for united atoms use heavy atoms bonded to the heavy atom
118
101
atom_set=data_container.select_atoms(f"not name H* and bonded index {index}")
119
102
120
-
iflen(atom_set) ==0:
121
-
# if no bonds to other heavy atoms use pricipal axes of residue
122
-
# this is the case where there is only one united atom in the residue, so the principal axes of the residue are the same as the principal axes of the united atom
123
-
# NOTE if you have argon or helium that is spherically symmetric you use random axes, but we should check that the prinicipal_axes function does that and doesn't cause an error when the residue/united atom has only one atom.
0 commit comments