-
Notifications
You must be signed in to change notification settings - Fork 51
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 typo in test_resume.py #991
Conversation
I see that the tests are failing because it detects a charge difference and tries to use the |
I think we want to make sure that the counterion isn't introduced for charge changing transformations in vacuum. I'll fix this. |
Yes that is a good point and something I didn't consider in the OG PR. |
@zhang-ivy I hate to open this can of worms on this PR, but do we need to make the same change for small molecules as well? I know @dominicrufa recently refactored this a bit and I'm not sure if he thought of that either. |
@mikemhenry : Nope, I double checked and the counterion behavior is correct for small molecules! |
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!
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.
Looks good to me! LGTM.
Ah, I need to update the PointMutationExecutor to not introduce a counterion if phase=vacuum was specified. We should keep the test as is.
On May 3, 2022, at 19:49, Iván Pulido ***@***.***> wrote:
I see that the tests are failing because it detects a charge difference and tries to use the get_water_indices from the PointMutationEngine here<https://github.com/choderalab/perses/blob/main/perses/app/relative_point_mutation_setup.py#L368>. I guess we shouldn't be changing from ALA to ASP if we don't want to deal with charges differences. Maybe changing to other similar residues with hydrophobic side chains should be enough (i.e. VAL), especially if all we are testing here is that the simulation can be resumed. Thoughts?
—
Reply to this email directly, view it on GitHub<#991 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIPGJCRTK3XJJUUGPWYAEUTVIG3QVANCNFSM5VAKBJOQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Description
Fixes typo that causes the test to be run in solvent instead of vacuum.
Motivation and context
Resolves #990
How has this been tested?
Change log