pyxmolpp2.ResidueSpan class

Continuous span of residue references

Contents

Methods

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

Special methods

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

Properties

atoms: AtomSpan get
coords: CoordSpan get
empty: int get
index: typing.List[int] get
molecules: MoleculeSpan get
size: int get