-
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
RDKit hangs indefinitely when parsing not so big molblock #6434
Comments
Same here for the following molecule:
|
It hangs for me with version 2023.03.2 and 2023.03.1, but not with 2022.9.5 |
I've confirmed this, it looks like the bug was added to the legacy chirality detection. The fix, for now, is to use the new chirality perception:
|
Describe the bug
I had US06235754-20010522-C00041.MOL (from USPTO bulk downloads) molecule more than 10 minutes waiting to be parsed until I cancelled.
If the sanitization is turned False and Chem.Sanitize is applied afterwards everything seems to work.
To Reproduce
What was a bit surprising for me is that disabling the sanitization and sanitazing afterwards seems to make things right. I thought both ways of sanitizing were equivalent.
Expected behavior
It parses the molecule or fails to parse it.
Configuration (please complete the following information):
The text was updated successfully, but these errors were encountered: