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 issue #134 #135

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Fix issue #134 #135

merged 1 commit into from
Jul 11, 2023

Conversation

lohedges
Copy link
Contributor

@lohedges lohedges commented Jul 11, 2023

This PR closes #134. To work around rounding issues with triclinic box vectors following conversion from dimensions and angles we now perform a pre lattice reduction using the internal OpenMM functionality. This isn't needed when using the native OpenMM AMBER format parsers, so can be removed once the fix related to this previous issue has made its way into a conda-forge release of OpenMM.

Note that a single test may fail for macOS py311. This is due to a precision issue, which has been adjusted in #132.

As before, the code duplication here is because the OpenMM protocols are currently (mostly) independent as we work out the best options for each. This will be refactored once we port to BioSimSpace._Config. (We might just use the native Sire conversion, so do away with this entirely.)

For reference, the native OpenMM parsers also appear to fail (with a different error) on macOS. I'll debug this if we have issues when removing the ParmEd workaround in future.

  • 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 permission to release this code under the GPL3 license: [y]

Suggested reviewers:

@chryswoods

@lohedges lohedges added bug Something isn't working exscientia Related to work with Exscientia labels Jul 11, 2023
@lohedges lohedges requested a review from chryswoods July 11, 2023 09:10
@lohedges lohedges temporarily deployed to biosimspace-build July 11, 2023 09:10 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 11, 2023 09:10 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 11, 2023 09:10 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 11, 2023 09:10 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 11, 2023 09:10 — with GitHub Actions Inactive
Copy link
Contributor

@chryswoods chryswoods left a comment

Choose a reason for hiding this comment

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

👍

@lohedges lohedges merged commit cdfbbbf into devel Jul 11, 2023
@lohedges lohedges deleted the fix_134 branch July 11, 2023 13:52
lohedges added a commit that referenced this pull request Jul 11, 2023
lohedges added a commit that referenced this pull request Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exscientia Related to work with Exscientia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] ParmEd box vectors are occasionally incompatible with OpenMM
2 participants