remove_stereo()
A new graph without the LS or change at a site.
Usage
remove_stereo(g: G, site: _Site) -> G
remove_stereo(g: StereoMolGraph | StereoReactionGraph, site: _Site) -> StereoMolGraph | StereoReactionGraph>>> g = StereoMolGraph(
... symbols=["C", "F", "Cl", "Br", "H"],
... bonds=[(0, 1), (0, 2), (0, 3), (0, 4)],
... atom_stereo=[Tetrahedral(atoms=(0, 1, 2, 3, 4), parity=1)],
... )
>>> remove_stereo(g, 0).atom_stereo()
Raises
KeyError- If there is no stereo at the site.