vmd.topology.bondtypes

vmd.topology.bondtypes()

Get all bond types defined in the molecule. If molecule does not have bond types, will return an empty list.

Parameters:molid (int) – Molecule ID to query. Defaults to top molecule
Returns:(list of str) – Bond types in molecule