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
Tautomer canonicalizer invariant violation #7044
Comments
Confirmed. |
Another example is an oxime. Note, there is no error if
|
Bisected to #6643 In debugging ( |
Here's a minimal reproducible of this that does not require tautomer canonicalization:
|
Bug description:
Canonicalizer has a runtime error on a specific structure
O=[N+](
O-])/C=C/c1ccccn1`. Error cannot be caught by try except. Error seems to be related to the stereochemistry as it does not occur when deleted from SMILES string. Error is related to latest versions of rdkit as it does not happen in rdkit==2023.3.3. Initial error happened on Google VM with python 3.11.5 and conda environment within installed rdkit==2023.9.4 but it may not be relevant as error reproduces in Google Colab using pip install.Code to reproduce:
Also look at Google colab here.
Expected behavior:
Should not crash as molecule is valid and ideally should be able to be caught by try except to avoid interrupting workflow.
Configuration:
The text was updated successfully, but these errors were encountered: