ensure_smiles#

skfp.utils.ensure_smiles(X: Sequence[Any]) list[str]#

Ensure that all input sequence elements are SMILES strings. Requires all input elements to be of the same type: string (SMILES strings) or Mol. In case of RDKit Mol objects, they are converted to SMILES strings with default settings.