Skip to main content

UnsupportedElementError

An element that amchi has no data for (amchi supports H to Xe, main group).

Usage

Source

UnsupportedElementError()

Examples

    >>> import amchi
    >>> from types import SimpleNamespace
    >>> iron = SimpleNamespace(symbols=["Fe"], coordinates=[[0, 0, 0]])
    >>> amchi.from_geometry(iron)  # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
    ...
amchi._element.UnsupportedElementError: ...