-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
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.
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.
doc/source/changelog.rst
Outdated
@@ -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. |
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.
Typo: resttrainted
should be restrained
.
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.
Thanks for the edits. I'll combine this with the other fix PRs then merge in one go once we're happy with everything.
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.
devel
into this branch before issuing this pull request (e.g. by runninggit pull origin devel
): y