I have generated a list of smiles strings and defined them as 'result'
I'd like to convert each SMILES string in the list to separate mol files using RDKit. My current code is this:
m = Chem.MolFromSmiles('result')
print(Chem.MolToMolBlock(m))
This script does not work and returns:
ArgumentError: Python argument types in rdkit.Chem.rdmolfiles.MolToMolBlock(NoneType) did not match C++ signature: MolToMolBlock(RDKit::ROMol mol, bool includeStereo=True, int confId=-1, bool kekulize=True, bool forceV3000=False)
How would I go about correcting this?
Thanks!