pyxmolpp2.Residue class

Residue reference

Contents

Methods

def add_atom(self, /) -> Atom
def to_pdb(self, path_or_buf: str) -> None
def to_pdb(self, path_or_buf: object) -> None

Special methods

def __eq__(self, arg0: Residue, /) -> bool
def __getitem__(self, arg0: str, /) -> Atom
def __hash__(self, /) -> int
def __init__(self, arg0: Residue, /) -> None
def __ne__(self, arg0: Residue, /) -> bool
def __repr__(self, /) -> str
def __str__(self, /) -> str

Properties

atoms: AtomSpan get
coords: CoordSpan get
empty: bool get
frame: Frame get
id: ResidueId get set
index: int get
molecule: Molecule get
name: str get set
next: typing.Optional[Residue] get
prev: typing.Optional[Residue] get
size: int get