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 issues caught by BioSimSpaceTutorials #128

Merged
merged 5 commits into from
Jul 7, 2023
Merged

Fix issues caught by BioSimSpaceTutorials #128

merged 5 commits into from
Jul 7, 2023

Conversation

lohedges
Copy link
Contributor

@lohedges lohedges commented Jul 7, 2023

This PR fixes some issues that were caught by the BioSimSpaceTutorials suite. (Why some of these weren't caught by the previous run through, I don't know.)

Changes are:

  • Allow the user to specify a trajectory backend when calling process.getTrajectory. This is required since the default Sire backend can't (yet) compute the RMSD correctly. I've also updated the example notebook in demos to specify a backend.

  • Fix the PLUMED version check required for determining whether and auxiliary file is needed to enable funnel metadynamics simulations.

  • Pass the process._work_dir attribute to the Process.Plumed constructor as a string within Process.OpenMM. Previously, the _Utils.WorkDir object was being passed, so a type check was failing.

  • 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 the bug Something isn't working label Jul 7, 2023
@lohedges lohedges requested a review from chryswoods July 7, 2023 09:27
@lohedges lohedges temporarily deployed to biosimspace-build July 7, 2023 09:28 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 7, 2023 09:28 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 7, 2023 09:28 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 7, 2023 09:28 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build July 7, 2023 09:28 — with GitHub Actions Inactive
@lohedges lohedges changed the title Fix issues in caught by BioSimSpaceTutorials Fix issues caught by BioSimSpaceTutorials Jul 7, 2023
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.

Looks good - could I have some tests that show the difference in the rmsd calculated by sire. I am pretty sure the code is correct - it will be different definitions of reference or subsets of atoms being calculated I think. It would be good to debug to find a way to produce an equivalent rmsd.

@lohedges
Copy link
Contributor Author

lohedges commented Jul 7, 2023

Yes, no problem, I'll try to dig out the code that I wrote. It was off for a single frame and I tried with-and-without molecular wrapping. I imagine it will be very easy to fix once we work out why we're getting a difference.

@lohedges lohedges merged commit 637c462 into devel Jul 7, 2023
@lohedges lohedges deleted the fix_tutorials branch July 7, 2023 12:57
lohedges added a commit that referenced this pull request Jul 7, 2023
lohedges added a commit that referenced this pull request Jul 7, 2023
lohedges added a commit that referenced this pull request Jul 7, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants