-
Notifications
You must be signed in to change notification settings - Fork 86
LangevinDynamicsMove
now accepts constraint_tolerance
parameter
#611
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
Conversation
Also maybe we should add to the changelog entry a link to the openmm doc for that setting. |
Looks great, thanks!! And I agree with Mike's suggestions -- especially the one about adding a link to the openmm doc. Not completely sure if the deserialization thing is necessary but seems like it would be useful. |
Serialization will be important if you want to load an |
Yes I definitely agree it would be useful, but I just meant I’ll leave it up to you guys to figure out what you want to do |
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.
Accidently dismised my review.
The only blocker on this is that we need to handle the case where constraint_tolerance
isn't in the nc file.
@mikemhenry I just checked and it isn't a problem, to my surprise. I was kind of expecting for it to be a problem, so it took me a while to realize why I think it isn't. As far as I can see, the flow of the object when deserializing is something like the following.
I hope that's understandable. Let me know if I am making myself clear here. The good news is that in #613 we are also indirectly testing this, since we are using legacy/older versions of serialized systems in the test. But I don't know if we want a specific test for this checking the match between serialized attributes vs. the ones that are falling back to default when deserializing |
This is great since it will check for regressions, I want to then get 613 merged in first so we can have that check for this PR. |
@mikemhenry @ijpulidos : I merged #613 into |
Sounds good, we can have John review the release PR |
@mikemhenry Can you "approve" this PR? merging is blocked because you requested changes |
Description
LangevinDynamicsMove
now accepts aconstraint_tolerance
parameter (defaults to the same value as the previously usedLangevinIntegrator
).Resolves #608
Todos
Status
Changelog