-
Notifications
You must be signed in to change notification settings - Fork 15
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
Conversation
[ref OpenBioSim/BioSimSpaceTutorials#32]
[closes OpenBioSim/BioSimSpaceTutorials#36]
There was a problem hiding this 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.
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. |
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 indemos
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 theProcess.Plumed
constructor as a string withinProcess.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 runninggit pull origin devel
): [y]I confirm that I have permission to release this code under the GPL3 license: [y]
Suggested reviewers:
@chryswoods