vmd.topology.deldihedral

vmd.topology.deldihedral()

Delete a dihedral angle between atoms with the given indices. If the dihedral does not exist, does nothing.

Parameters:
  • i (int) – Index of first atom
  • j (int) – Index of second atom
  • k (int) – Index of third atom
  • l (int) – Index of fourth atom
  • molid (int) – Molecule ID to delete from. Defaults to top molecule.
Returns:

(bool) True if dihedral exists and was deleted