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

Improve support for virtual sites in plugins exported to OpenMM #605

Merged
merged 7 commits into from Mar 6, 2023

Conversation

mattwthompson
Copy link
Member

Description

Also move Buckingham support from first-class to a plugin.

Checklist

  • Add tests
  • Lint
  • Update docstrings

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Comment on lines -669 to -673
# If the interactions are both zero, assume this is a 1-2 or 1-3 interaction
if q._value == 0 and eps._value == 0:
pass
else:
# Assume this is a 1-4 interaction
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was fun to replace - this assumption fails when there's no vdW interactions!

@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Merging #605 (03dcbb5) into main (48878a9) will increase coverage by 0.31%.
The diff coverage is 98.11%.

Additional details and impacted files

@mattwthompson mattwthompson marked this pull request as ready for review March 6, 2023 19:39
@mattwthompson mattwthompson changed the title Add basic support for virtual sites defined in plugins Improve support for virtual sites in plugins exported to OpenMM Mar 6, 2023
@mattwthompson mattwthompson merged commit 5ceba6c into main Mar 6, 2023
16 checks passed
@mattwthompson mattwthompson deleted the plugin-virtual-sites branch March 15, 2023 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant