StereoReactionGraph
A reaction or TS graph with stereo.
Usage
StereoReactionGraph()atom_stereo and bond_stereo hold the LS that don’t change; each holds on both sides. stereo_changes holds the sites that change (atom sites by centre, then bond sites by end pair); a site is in one or the other, never both (P30).
>>> tet = Tetrahedral(atoms=(0, 1, 2, 3, 4), parity=1)
>>> g = StereoReactionGraph(
... symbols=["C", "F", "Cl", "Br", "H", "I"],
... bonds=[(0, 1), (0, 2), (0, 3), (0, 4), (0, 5)],
... breaking=[(0, 3)],
... forming=[(0, 5)],
... charge=-1,
... stereo_changes=[StereoChange(reactant=tet)],
... )
>>> g.stereo_changes[0].reactant == tetTrue