-
Notifications
You must be signed in to change notification settings - Fork 19
Fix issue #462 #463
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
Fix issue #462 #463
Conversation
| ---------- | ||
| dir : str | ||
| The path to the node library. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to clarify that the path to the node directory also needs to be an absolute path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead I just store the node directory as an absolute path, so it works either way. (Obviously it will be returned as an absolute path too, but this isn't an issue.)
mb2055
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, but it would be good to also clarify that the path given in setNodeDirectory also needs to be absolute
mb2055
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 👍 thanks
This PR closes #462 by fixing the name of the context manager. I've also updated the docstring to state that inputs need to use absolute paths when a working directory is set, i.e. since paths will no longer be relative to the working directory of the Python process.
Also closes #449 by fixing a typo in an RDKit d2d draw option. This worked previously, so either there was a typo in the RDKit API that has been fixed, or the RDKit code no longer allows invalid attributes to be set.
develinto this branch before issuing this pull request (e.g. by runninggit pull origin devel): [y]