-
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 #284 #285
Fix #284 #285
Conversation
Codecov Report
@@ Coverage Diff @@
## master #285 +/- ##
=======================================
Coverage 98.69% 98.69%
=======================================
Files 26 26
Lines 1763 1765 +2
Branches 380 380
=======================================
+ Hits 1740 1742 +2
Misses 3 3
Partials 20 20
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
- (EDIT) Please add reST markup
.. deprecated:: 1.0.1
etc to documentation - please add test that check for deprecation warning
- ignore the deprecation warning in any tests with AutoMBAR so that it doesn't litter the output too much, you can use a pytest decorator like
@pytest.mark.filtewarnings("ignore:"From version 2.0.0, this will be replaced by the default alchemlyb.estimators.MBAR.")
.
@orbeckst I have done
I'm a bit reluctant to do
The AutoMBAR is only directly used in test_fep_estimators, which is now wrapped in |
The warning shows up multiple times
I'd prefer not any of our own warnings making it to the test output if we can do so. With our deprecations we know exactly what's going on. By removing the warnings, we cut down on the noise. What's your rationale for keeping them visible? |
@orbeckst However, for this particular warning, It is a bit difficult to pinpoint the tests that use |
Can we disable them globally (eg pytest.ini) and only enable them when we want to test them? |
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.
good solution!
No description provided.