Skip to content
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

Merged
merged 4 commits into from
May 9, 2022
Merged

Fix typo in test_resume.py #991

merged 4 commits into from
May 9, 2022

Conversation

zhang-ivy
Copy link
Contributor

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


@ijpulidos
Copy link
Contributor

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. 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?

@zhang-ivy
Copy link
Contributor Author

I think we want to make sure that the counterion isn't introduced for charge changing transformations in vacuum. I'll fix this.

@codecov
Copy link

codecov bot commented May 6, 2022

Codecov Report

Merging #991 (41f11d8) into main (c9fa0c6) will increase coverage by 0.00%.
The diff coverage is 83.33%.

@mikemhenry
Copy link
Contributor

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.

@mikemhenry
Copy link
Contributor

@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.

@zhang-ivy
Copy link
Contributor Author

@mikemhenry : Nope, I double checked and the counterion behavior is correct for small molecules!

Copy link
Member

@jchodera jchodera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor

@ijpulidos ijpulidos left a 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.

@ijpulidos ijpulidos merged commit aca1ea2 into main May 9, 2022
@ijpulidos ijpulidos deleted the fix-resume-test branch May 9, 2022 18:41
@zhang-ivy
Copy link
Contributor Author

zhang-ivy commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vacuum phase typo in test_resume
4 participants