ensure_mols#
- skfp.utils.ensure_mols(X: Sequence[Any]) list[Mol] #
Ensure that all input sequence elements are RDKit
Mol
objects. Requires all input elements to be of the same type: string (SMILES strings) orMol
. In case of SMILES strings, they are converted to RDKitMol
objects with default settings.