-
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 issue #148 #149
Fix issue #148 #149
Conversation
It looks like the |
This has been consumed into a larger crystal water related feature that I'm working on so I'll close this when I submit that PR. I'll still pull out the specific fix implemented here for a backport, i.e. forgetting to update the water topology for Gro87 format on write. |
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.
👍
This PR closes #148 and closes michellab/BioSimSpace#427. The code has been updated to correctly update the water topology to match the GROMACS naming convention in both the Gro87 and GroTop files. Since a user may wish to preserve a particular naming convention, e.g. for crystal waters, I've added an option to disable the topology swap if desired, e.g. if they are just writing to file. A few optimisations have been added following the addition of this parameter, since it means that we can avoid double checking the topology in cases where we know that it has already been swapped, e.g. during the setup of a simulation with a particular engine.
I've not resolved the issue of the Gro87 file being parsed incorrectly. I'm not sure what we can do about this (in a general way, at least) since the file is valid (doesn't trip the existing error handling), but is formatted incorrectly.
devel
into this branch before issuing this pull request (e.g. by runninggit pull origin devel
): [y]Suggested reviewers:
@chryswoods