baybe.utils.chemistry.smiles_to_molecules

baybe.utils.chemistry.smiles_to_molecules(smiles_list: list[str])[source]

Convert a given list of SMILES strings into corresponding Molecule objects.

Parameters:

smiles_list (list[str]) – List of SMILES strings.

Return type:

list[Mol]

Returns:

List of corresponding molecules.

Raises:

ValueError – If the SMILES does not seem to be chemically valid.