Skip to main content

rd.inchi()

Write a standard InChI string.

Usage

Source

rd.inchi(
    mol,
    *,
    stereo=True,
)

Parameters

mol: Mol

RDKit molecule.

stereo: bool = True
Whether to include the stereo layers.

Returns

str
InChI string.

Raises

ValueError
If InChI generation fails.