pyxmolpp2.ResidueSelection class

Ordered set 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: ResidueSelection, /) -> ResidueSelection
def __contains__(self, arg0: Residue, /) -> bool
def __getitem__(self, arg0: int, /) -> Residue
def __getitem__(self, arg0: slice, /) -> ResidueSelection
def __init__(self, arg0: ResidueSelection, /) -> None
def __init__(self, arg0: iterable, /) -> None
def __iter__(self, /) -> typing.Iterator[Residue]
def __len__(self, /) -> int
def __or__(self, arg0: ResidueSelection, /) -> ResidueSelection
def __str__(self, /) -> str
def __sub__(self, arg0: ResidueSelection, /) -> ResidueSelection

Properties

atoms: AtomSelection get
coords: CoordSelection get
empty: int get
index: typing.List[int] get
molecules: MoleculeSelection get
size: int get