-
Notifications
You must be signed in to change notification settings - Fork 92
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
Labelling fails if v-site handler added after library charge handler #1216
Comments
Duplicate of #1047, I could have a quick go at this one. |
Is this still a bug after #1252 (version 0.10.5+)? |
Yeah, can confirm this is still broken with a fresh 0.10.6 install. |
Oh, I didn't see that Simon had posted a proposed fix here - This may be quick so I'd be happy to give this a shot this morning @jthorton. |
Yes, I'd seen that in my testing as well and removed it. I'll include that fix in the same PR. Yesterday I started working on this. It's a bit more complex that just Simon's recommendation because VirtualSiteHandler's fine_matches function returns a list, due to the fact that ValenceDict isn't exactly appropriate for vsites. So I'm experimenting with some fixes, and will open a PR once I have one ready to go. |
* Fix #1216 (#1290) * change vsitehandler.find_matches to be more in theme with base find_matches return values * spurious print cleanup and releasenotes * fixes for mypy * Fix a type annotation * add test * black Co-authored-by: Matthew W. Thompson <mattwthompson@protonmail.com> * Update test given `VirtualSiteHandler.find_matches -> List` Co-authored-by: Jeff Wagner <jwagnerjpl@gmail.com>
Describe the bug
Labelling a molecule with a FF that contains a library charge handler that was added after a v-site handler fails
This flag should likely be inside the next loop.
To Reproduce
Output
Computing environment (please complete the following information):
conda list
Additional context
The text was updated successfully, but these errors were encountered: