pyxmolpp2.MoleculeSpan class

Continuous span of molecule references

Contents

Methods

def filter(self, arg0: typing.Callable[[Molecule], bool], /) -> MoleculeSelection
def to_pdb(self, path_or_buf: str) -> None
def to_pdb(self, path_or_buf: object) -> None

Special methods

def __and__(self, arg0: MoleculeSpan, /) -> MoleculeSpan
def __contains__(self, arg0: Molecule, /) -> bool
def __getitem__(self, arg0: int, /) -> Molecule
def __getitem__(self, arg0: slice, /) -> typing.Union[MoleculeSpan, MoleculeSelection]
def __init__(self, arg0: MoleculeSpan, /) -> None
def __iter__(self, /) -> typing.Iterator[Molecule]
def __len__(self, /) -> int
def __or__(self, arg0: MoleculeSpan, /) -> MoleculeSelection
def __str__(self, /) -> str
def __sub__(self, arg0: MoleculeSpan, /) -> MoleculeSelection

Properties

atoms: AtomSpan get
coords: CoordSpan get
empty: int get
index: typing.List[int] get
residues: ResidueSpan get
size: int get