enumerate_structures()

Enumerate structural variants of a molecule.

Usage

Source

enumerate_structures(mol)

Uses RDKit’s MolEnumerator to generate structural variants (e.g., for handling tautomers or stereoisomers in queries).

Parameters

mol: Mol
Mol object to enumerate.

Returns

list[Mol]
Falls back to the original molecule if enumeration fails or produces no results.