-
Notifications
You must be signed in to change notification settings - Fork 28
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
add flag to not turn bonds to metals into zobs #77
Conversation
The API looks good to me and I've confirmed on the RDKit side that this fixes both the issues that we had previously observed. |
// Load a molecule with a single bond to a metal. Make sure that disabling the automatic conversion | ||
// to zob behaves as expected | ||
|
||
const std::string testfile = (test_samples_path / "metalZobs.mae").string(); |
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.
I think that the tests are failing because this is metalZobs.mae and the test file name is metalZob.mae (extra s here).
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.
thanks! I fixed that and made the test more precise. Seems like the tests are passing now
I've merged this PR |
For use in Schrödinger release 2020-4. Set version in CMakelists to 1.4.2. There are no backwards incompatible API changes in this release. There is a class that is now exported, and there are a couple of methods that are now const. Features include: * add flag to not turn bonds to metals into zobs Pull #77 * some minor performance improvements Pull #72
added flag to not turn single and double bonds to metals into zobs.
added automated test to show the length of the bond is around the same as a single bond (zobs to metals usually are stretched out)