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

Fix zero LJ sigma parameters #132

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Fix zero LJ sigma parameters #132

merged 2 commits into from
Dec 4, 2023

Conversation

chryswoods
Copy link
Contributor

I've made sure that sigma is not set to 0 for any LJ parameters or exceptions.

I've added some unit tests for this based on serialising the OpenMM context to XML.

I have also checked that the include_constrained_energies option works, and added documentation about this plus a unit test.

This pull request fixes an externally reported issue.

  • I confirm that I have merged the latest version of devel into this branch before issuing this pull request (e.g. by running git pull origin devel): [y]
  • I confirm that I have added a changelog entry to the changelog (we will add a link to this PR as part of the review): [y]
  • I confirm that I have permission to release this code under the GPL3 license: [y]

Suggested reviewers:

@lohedges

…ceptions.

I've added some unit tests for this based on serialising the OpenMM context to XML.

I have also checked that the `include_constrained_energies` option works, and added
documentation about this plus a unit test.
Added in an energy check so that we test for regressions in calculating
the total energy for contexts with and without energy terms for
constraint internals
Copy link
Contributor

@lohedges lohedges left a comment

Choose a reason for hiding this comment

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

Looks good. Not sure if you want to wait for comment from the Exs folks as to whether this resolves their issue. The tests seem pretty comprehensive.

@chryswoods chryswoods merged commit 106d783 into devel Dec 4, 2023
5 checks passed
@chryswoods chryswoods deleted the fix_constraints branch December 4, 2023 17:34
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.

2 participants