4.2. smiles
- pharmaforge.labeling.smiles.assign_smiles(molecule_name, failed_mols)[source]
Assigns SMILES notation to a molecule using RDKit.
- pharmaforge.labeling.smiles.count_molecules(smiles)[source]
Counts the number of molecules in a SMILES string.
- Parameters:
smiles (str) – The SMILES notation for the molecule.
- pharmaforge.labeling.smiles.count_water_molecules(smiles, mol_smile='[H]O[H]')[source]
Counts the number of water molecules in a SMILES string.