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