OESameChain

OESameChain(atom1: OEAtomBase, atom2: OEAtomBase) -> bool
OESameChain(res1: OEResidue, res2: OEResidue) -> bool

Determines whether two atoms or their respective OEResidue s are in the same chain. This returns true if both residues have the same NMR model number, OEResidue.GetModelNumber, and the same chain identifier, OEResidue.GetChainID.