Open Yuvaraj7UV opened 1 year ago
I also encounter the same problem. Have you fixed it?
I'm having the same problem.
I have found that if you modify the next in chemutils.py it works:
But I'm not sure if the whole model is gonna be afected.
I ve just added: 'for atom in atoms: mol.GetAtomWithIdx(atom).SetNumExplicitHs(4)' at the beginning of get_clique_mol() And did not modify anything else. "https://github.com/rdkit/rdkit/issues/3334" I am too unsure about how this affects the quality of the generated data
this is because the version of rdkit: pip install rdkit-pypi==2020.9.5.2
smiles = Chem.MolFragmentToSmiles(mol, atoms, kekuleSmiles=True) rdkit.Chem.rdchem.KekulizeException: Can't kekulize mol. Unkekulized atoms: 6 8 12
How did you deal with this kekulization error?