nanome.api.structure.substructure module

class Substructure[source]

Bases: nanome._internal.structure.models._Substructure

class SubstructureType

Bases: enum.IntEnum

The types of Substructures that can be parsed from a Molecule.
Ligand = 2
Protein = 1
Solvent = 3
Unkown = 0
name
The name of the substructure
Type:str
residues
The list of residues within this substructure
structure_type

Type:SubstructureType