Skip to content
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

Added try/except in Library.read() method #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lbabetto
Copy link
Contributor

Just added a try/except clause in the Library.read() method, if the ValueError exception is raised, ignore the molecule and proceed.

This rdkit error usually happens for "nonsensical" molecules anyway, where the coordination of some atoms is larger than physically possible (5-coordinated N sites)

@lbabetto lbabetto added the bug Something isn't working label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants