low_t()
The graph with the low-T scheme’s stereo sites (P54), keeping its parities.
Usage
low_t(g: MolGraph | StereoMolGraph) -> StereoMolGraph
low_t(g: ReactionGraph | StereoReactionGraph) -> StereoReactionGraphThe sites are perceived on a Lewis structure of the graph. A site the graph already has keeps its LS and parity; a site the scheme drops loses its LS; a site it adds is undetermined, or fixed if it is trivial. No parity is invented, so a plain graph gets the sites with only the trivial ones fixed. low_t is idempotent, and leaves the output of from_smiles and from_geometry as it is, except where the rules depend on which Lewis structure is read (open question 11).
A reaction graph’s two sides are reassigned separately: each StereoChange slot follows its side’s site, and a change left with no LS on either side is removed (no TS-only sites, P68). A change at a TS site gets its ts slot by the TS-slot rules (P70; the scheme’s choice, P84), keeping the given one where the rules allow it; where they allow two (the twisted TSs of a rotation), it is their LS undetermined, for stereoisomers to split. Other ts slots are kept as they are.
>>> from protomol import from_smiles, without_stereo
>>> gra = from_smiles("C[C@H](N)CC")
>>> low_t(without_stereo(gra)).atom_stereo[1].parity is None # C1: undeterminedTrue
>>> low_t(gra) == graTrue
Raises
GraphError- If no Lewis structure fits the bonds, charge and spin.