IllDefinedParityError
A stereocenter whose parity the coordinates don’t define.
Usage
IllDefinedParityError()Examples
>>> import amchi
>>> from types import SimpleNamespace
>>> # CHFClBr with the four substituents in one plane
>>> flat = SimpleNamespace(
... symbols=["C", "H", "F", "Cl", "Br"],
... coordinates=[[0, 0, 0], [1, 0, 0], [0, 1, 0], [-1, 0, 0], [0, -1, 0]],
... )
>>> amchi.from_geometry(flat) # doctest: +IGNORE_EXCEPTION_DETAILTraceback (most recent call last):
...
amchi._types.IllDefinedParityError: ...