-
Notifications
You must be signed in to change notification settings - Fork 70
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
Unsuccessful atom mapping attempts #270
Comments
Thanks for the report -- I'm looking into it. To get past the alignment hurdle, you can pass |
Thank you - adding |
Thanks for the suggestion! I'd like to add another example that is still problematic for this algorithm. I'm aware that no atom-mapping algorithm has a 100% success rate, but I hope through these examples to either learn how to use atom mapping via QCElemental better, or to understand the current limitations. This example involves two internal rotations, and is not being mapped correctly regardless of the
Expected atom map: Resulting atom map:
(an * marks an incorrectly mapped atom) |
Excellent, thank you for more examples. These will all be useful. For background, the aligner is used pretty routinely for |
Describe the bug
The
Molecule.align()
method for atom mapping could not successfully map some (relatively simple?) examples.The problem seems to be in mapping H atoms.
Example 1:
Expected atom map:
[0, 3, (1 or 2), (2 or 1), (4 or 5), (5 or 4)]
Resulting atom map:
[0, 3, 5, 1, 4, 2]
Example 2:
Expected atom map:
[0, 1, 2, 3, 4, 5, 6, 7, 8]
Resulting atom map:
[0, 1, 2, 3, 4, 7, 6, 5, 8]
To Reproduce
Using QCElemental v0.20.0
(Edit: updated "Expected atom map" of Example 2, switched the last two indices representing H atoms on the terminal C)
The text was updated successfully, but these errors were encountered: