stereo_at()
The LS or change at a site (a centre atom or a bond’s ends), or None.
Usage
stereo_at(g: StereoMolGraph, site: _Site) -> AtomStereo | BondStereo | None
stereo_at(g: StereoReactionGraph, site: _Site) -> AtomStereo | BondStereo | StereoChange | None>>> g = StereoMolGraph(
... symbols=["C", "C", "H", "H", "H", "H"],
... bonds=[(0, 1), (0, 2), (0, 3), (1, 4), (1, 5)],
... bond_stereo=[PlanarBond(atoms=(2, 3, 0, 1, 4, 5), parity=0)],
... )
>>> stereo_at(g, (1, 0)).parity0
>>> stereo_at(g, 0) is NoneTrue