Skip to main content

transition_state()

The TS of a channel: the side slots its TS doesn’t fix made undetermined.

Usage

Source

transition_state(srg)

Where the TS-slot rules leave a change’s ts slot undetermined with its sides determined (a bifurcation: OH + 1-fluoropropyne makes a (Z) and an (E) alkenyl radical through one TS), the side slots become undetermined too, so the bifurcation’s channels give one graph (P74, P5). Every other graph is returned as it is. A TS’s stored identity is canonical_direction(canonical_enantiomer(transition_state(g))) (P60).

>>> from protomol import from_smiles, low_t, ts_graphs
>>> rct = from_smiles("CC#CF.[OH]")
>>> (z,) = ts_graphs(rct, from_smiles(r"C/C(O)=[C]\F"))
>>> (e,) = ts_graphs(rct, from_smiles(r"C/C(O)=[C]/F"))
>>> z, e = low_t(z), low_t(e)  # the TS slots, by the scheme (P84)
>>> z == e, transition_state(z) == transition_state(e)

(False, True)

Raises

TypeError
If srg is not a StereoReactionGraph.