-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add external work alchemical Langevin splitting integrator #53
Conversation
Tagging @pgrinaway |
For a test I'll probably do something like the following: |
@sgill2 - you changed the title, is this ready for review? |
Also (not having looked at the code changes yet), as per the description of your PR, this adds an integrator, but does it switch the main code to use this integrator, or is the integrator "vestigial" (not used)? It would be good to document more completely here in this PR (and, if it's functional, in the relevant documentation). If it's just "vestigial" you'll want to create a separate issue(s) explaining what is going to be done with this from here. |
I suppose that's worth discussing now. |
But yeah, this should be about ready to review @davidlmobley. If @pgrinaway has a moment I'd also especially appreciate his input too. |
@sgill2 :
Have you or Nathan done any tests on this yet to see what it does to acceptance, etc.? (Though I think this also relates to the other issue we're currently discussing, in that if you go to an integrator in |
Per discussion, this is going to be vestigial for now (see #50 and MMC) so the doc strings will need updating to indicate that. |
It looks good to me! |
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.
Overall looks good to me.
I was going to suggest that the tests should be written in the unittest framework as the Orion cubes and the tests I had written for the refactored code used the unittest framework. But after some reading, I think the framework you had written here and in previous tests is actually much easier with using the pytest framework.
I'll raise an issue to change the tests I had written up (since they're bad anyways).
OK, looks/sounds good, guys. Though we either need to update the doc strings to indicate this is vestigial (ideally with a link to this discussion) before merging this PR, or we need to create a separate issue to do so. |
I'm of the side we do it as a separate PR. |
OK, sounds fine. |
This PR aims to create an integrator that inherits from the openmmtools NonequilibriumLangevinIntegrator so that it also allows the non-alchemical protocol work to be measured.