without_stereo()
The graph without its LS and changes, as a MolGraph or a ReactionGraph.
Usage
without_stereo(gra: StereoMolGraph) -> MolGraph
without_stereo(gra: StereoReactionGraph) -> ReactionGraph>>> from protomol import Tetrahedral
>>> 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)],
... )
>>> type(without_stereo(g)).__name__‘MolGraph’
Raises
TypeError- If the graph has no stereo fields (a MolGraph or a ReactionGraph).