GeometryMismatches
Where a graph and a geometry disagree (geometry_mismatches).
Usage
GeometryMismatches(
missing_bonds,
extra_bonds,
reacting_bonds,
stereo,
)Each field is a sorted tuple. It is true when any field is non-empty, like a container, so not geometry_mismatches(gra, geo) means they agree (P77).
Attributes
missing_bonds: tuple[tuple[int, int], …]-
The graph’s bonds that the geometry doesn’t have.
extra_bonds: tuple[tuple[int, int], …]-
The geometry’s bonds that the graph doesn’t have.
reacting_bonds: tuple[tuple[int, int], …]-
A reaction graph’s breaking and forming bonds whose length in the geometry is outside a TS’s range: a full bond (at most 1.05 times the covalent-radius sum), or longer than twice the sum (P69). Empty for a species.
stereo: tuple[int | tuple[int, int], …]-
The sites (as
site(ls)gives them) of the LS whose parity the geometry contradicts.
Methods
| Name | Description |
|---|---|
| __bool__() | True if the graph and the geometry disagree anywhere. |
__bool__()
True if the graph and the geometry disagree anywhere.
Usage
__bool__()