Skip to main content

reacting_core()

The atoms CREST holds at a TS: those of the breaking and forming bonds (P67).

Usage

Source

reacting_core(g)

For a channel with no bond change (a rotation, an inversion), the atoms of its changing sites: a bond’s two ends, or an inverting centre.

>>> from protomol import from_smiles, ts_graphs
>>> sn2, _ = ts_graphs(from_smiles("CBr.[I-]"), from_smiles("CI.[Br-]"))
>>> sorted(reacting_core(sn2))

[0, 1, 2]

Raises

TypeError
If g is not a reaction graph.