Closed pgg1610 closed 2 years ago
Could you find out which reaction is causing the error and share it? You could for example iterate through your reactions one-by-one until it raises such an error.
[xx:xx:xx] Explicit valence for atom # 5 N, 4, is greater than permitted
Looks like there is an invalid SMILES according to RDKit in one of your reactions.
Have you canonicalised the molecules in the reactions with RDKit before using RXNMapper?
Apologies for my late reply. I sifted through the list of rxn strings and found the culprit with trailing /
in it. Thanks for the informative reply. Appreciate it.
Hello,
First I appreciate the development and documentation that has gone in making this tool plus the user-friendly web interface developed to make interpretations easier.
Now to the issue:
When I run a list of smiles for generating an atom mapping using a default instance of Rxnmapper I get the following error:
Now I do test to check if all the rxn entries have been encoded with a
>>
so that doesn't seem to be a concern. What I think might be happening is an except with respect to the valency that is halting the code.Following is a minimal code snippet of the script being run:
Would like to know steps on resolving this. Thank you.