-
Notifications
You must be signed in to change notification settings - Fork 845
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
KekulizeException of molecule from Smarts pattern with new RDKit release #5156
Comments
Hi @schallerdavid thanks for the bug report. I'll take a look and see if I can figure out what's going on and how to fix it |
@schallerdavid to visualize all molecules including those failing to kekulize, you can try the following:
|
greglandrum
added a commit
to greglandrum/rdkit
that referenced
this issue
Jul 8, 2022
prepareMolForDrawing() was being called for mols without coords even if the option was disabled This resolves that
greglandrum
added a commit
that referenced
this issue
Aug 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
With the new release of RDKit (2022.03.1) we observed a KekulizeException that was not thrown by the previous RDKit release (2021.09.5), which prevents the rendering of a certain Smarts pattern with the
Draw.MolsToGridImage
functionality.To Reproduce
Expected behavior
Both version behave consistent.
Configuration (please complete the following information):
Additional context
If the KekulizeException is correctly thrown for this Smarts pattern in the new RDKit version, it would be great to still be able to visualize it with
Draw.MolsToGridImage
. However, I cannot find a possibility to prevent the kekulization of the given molecules in this function, so the KekulizeError always gets thrown.Thanks in a advance,
David
The text was updated successfully, but these errors were encountered: