-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to deal with Explicit valence for atom #10
Comments
Hi, it is strange this is giving you trouble. Can you share the structure of the molecule that may be causing it? Or the data set? If not, the full traceback would also help. I think this might be something on the QSPRpred side, which applies standardization by default for certain operations. I am guessing this method is the culprit, but I would need the traceback from the notebook to be sure. |
Also, there was a new release in the meantime: https://github.com/CDDLeiden/DrugEx/releases/tag/v3.4.8, which I do not think affects your case, but you might want to update since it fixes other issues. |
I prepare a dataset using |
Hi @pritam0070, many thanks for the detailed information. I was able to reproduce the problem and it is an issue with the from qsprpred.data.sampling.splits import ClusterSplit
split = ClusterSplit(test_fraction=0.2)
#
dataset.prepareDataset(
split=split,
feature_calculators=[MorganFP(radius=3, nBits=2048)]
) I hope this helps and I will update you on the progress of fixing the scaffold split issue if it is something you are specifically interested in using. |
qsprpred - ERROR - AtomValenceException('Explicit valence for atom # 0 C greater than permitted')
multiprocessing.pool.RemoteTraceback.
I also use RdKit for
Chem.Cleanup(mol) #
Cleanup
Chem.SanitizeMol(mol) # Validate but stil it giving same error
It happening in tutorial/qsar.ipynb
The text was updated successfully, but these errors were encountered: