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 #232 #233

Merged
merged 4 commits into from
Oct 9, 2024
Merged

Fix #232 #233

merged 4 commits into from
Oct 9, 2024

Conversation

mb2055
Copy link
Contributor

@mb2055 mb2055 commented Sep 26, 2024

This PR closes #232. Changes the length of the parameter vector used to add ghost atoms (specifically those used for positional restraints) from 3 to the required length of 5.

  • 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/n]
  • I confirm that I have permission to release this code under the GPL3 license: [y/n]

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.

Thanks for this. Is it possible to add a unit test for this. Probably within tests/convert/test_openmm_restraints. Youl could follow the logic for the existing test_openmm_positional_restraints function, but instead using one of the perturbable molecule fixtures, e.g. merged_ethane_methanol. You could also parameterise the test so the mols is kigaki_mols _and _ merged_ethane_methanol. There are tests in the BioSimSpace suite that show how to do this.

@@ -26,6 +26,7 @@ organisation on `GitHub <https://github.com/openbiosim/sire>`__.
* Add support for boresch restraints to PME.
* Port SOMD torsion fix to PME code.
* Fix issues with ``atomtype`` and ``atom`` records for dummy atoms in GROMACS topology files.
* Fix issues with positionally restrainted atoms in perturbable systems.
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: resttrainted should be restrained.

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.

Thanks for the edits. I'll combine this with the other fix PRs then merge in one go once we're happy with everything.

@lohedges lohedges added the bug Something isn't working label Oct 3, 2024
@lohedges lohedges merged commit bf3b240 into devel Oct 9, 2024
5 checks passed
@lohedges lohedges deleted the fix_232 branch October 9, 2024 13:16
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.

[BUG] Minimisation/Dynamics failing when using positional restraints
2 participants