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 RelativeFEPSetup bug preventing user from controlling the padding in solvent phase #1053

Merged
merged 4 commits into from
Jun 24, 2022

Conversation

zhang-ivy
Copy link
Contributor

@zhang-ivy zhang-ivy commented Jun 24, 2022

Description

This PR fixes a bug that prevents the user from choosing the padding size (for adding solvent) when the phase is solvent.

Note: I found this when I was trying to write the small molecule repex internal consistency tests.

Motivation and context

Currently the code always uses a 9 angstrom padding whenever the phase is solvent. I removed the code that does this.

How has this been tested?

Added tests/test_relative_setup.py::test_relative_setup_solvent_padding

Change log

Fix bug in RelativeFEPSetup that prevents user from controlling the padding when solvating for solvent phase calculations. 

@zhang-ivy zhang-ivy requested a review from ijpulidos June 24, 2022 01:34
@zhang-ivy zhang-ivy added this to the 0.10.1 - Bugfix release milestone Jun 24, 2022
@codecov
Copy link

codecov bot commented Jun 24, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.36%. Comparing base (8cb083e) to head (0b37f1f).
Report is 61 commits behind head on main.

Additional details and impacted files

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! Just a minor suggestion.

perses/tests/test_relative_setup.py Outdated Show resolved Hide resolved
zhang-ivy and others added 2 commits June 24, 2022 10:57
Co-authored-by: Iván Pulido <ivanpulido@protonmail.com>
@ijpulidos ijpulidos merged commit 0aeb4d4 into main Jun 24, 2022
@ijpulidos ijpulidos deleted the fix-solvent-padding branch June 24, 2022 17:30
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.

2 participants