-
Notifications
You must be signed in to change notification settings - Fork 35
make gather septop/abfe output headers accurately reflect error type
#1712
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
make gather septop/abfe output headers accurately reflect error type
#1712
Conversation
|
No API break detected ✅ |
gather septop/abfe output headers accurately reflect error type
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/cli-gather-improvements #1712 +/- ##
================================================================
- Coverage 93.10% 93.09% -0.01%
================================================================
Files 189 189
Lines 16526 16539 +13
================================================================
+ Hits 15386 15397 +11
- Misses 1140 1142 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
openfecli/commands/gather_abfe.py
Outdated
| error_name = "MBAR uncertainty (kcal/mol)" | ||
| else: | ||
| error_func = _error_std | ||
| error_name = "uncertainty (kcal/mol)" |
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.
Thoughts on being more explicit here? Maybe "STDEV uncertainty" or something like that?
a835400 to
b7c456c
Compare
2cd85f4 to
e86ee4f
Compare
| unc_col_name = "MBAR uncertainty (kcal/mol)" | ||
| else: | ||
| error_func = _error_std | ||
| unc_col_name = "std dev uncertainty (kcal/mol)" |
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.
I didn't see any of the test files update with this, are we not testing this code path?
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.
they're updated! I think you just saw this between commit pushes.
|
I think there's a more robust way to do this, but this is at least better than not having mbar/stdev labels. |
…ort (#1710) * feat: support `openfe gather` for septop (#1638) * copy septop analysis notebook over * add todos * add plan and test * format * add failing tests * comment out secondary tests * add cli tmp * clean up imports * fix type hints in gather.py * test passes for gather raw * test passes for ddg * tests pass for dg * pull more error handling into septop * condense code a bit * MBAR uncertainty * remove planning stub * Revert "MBAR uncertainty" This reverts commit bf32aa3. * format * test with tolerances * precommit format * remove accidentally committed file * Apply suggestions from code review Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com> --------- Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com> * feat: add abfe gathering support first draft (#1686) * add abfe MVP with tests * Apply suggestions from code review Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com> * fix incorrect var name * fix abfe legs extraction * fix merge bug * remove unused import --------- Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com> * gather: fix septop rounding (#1696) * only apply precision rounding at the end * clean up code * gather: update names parsing (septop and abfe) (#1698) * update abfe names parsing * update septop names parsing * add todo * get names from alchemical_components * remove todo * gather: refactor/unify rounding behavior (#1697) * format septop outputs with format_df_with_precision * only apply precision rounding at the end * update gather abfe formatting to use format_df_with_precision * remove unused import * switch back to checking final outputs for abfes * clean up code * add rounding for dg mle * simplify code * gather: unify code structure between rbfe, septop, & abfe (#1700) * format septop outputs with format_df_with_precision * only apply precision rounding at the end * update gather abfe formatting to use format_df_with_precision * remove unused import * switch back to checking final outputs for abfes * clean up code * add rounding for dg mle * simplify code * make gather_septop.py code more similar to gather.py * make gather_abfe.py code more similar to gather.py * remove unused function * add stdout message for experimental gathering support (#1703) * add warnings for experimental gathering * use click to make output look nicer, not a true warning * add warning text * make yellow * add tests * remove unused code * add news item * speed up names gathering * names should always return str * add single repeat tests for abfe and septop * remove unused imports * make `gather septop/abfe` output headers accurately reflect error type (#1712) * gather septop/abfe output headers accurately reflect error type * split into func * label all uncertainty columns more specifically * add docstring * update test data * update error calculation --------- Co-authored-by: Hannah Baumann <43765638+hannahbaumann@users.noreply.github.com>
in response to #1710 (comment)
Checklist
newsentry, or the changes are not user-facing.pre-commit.ci autofixbefore requesting review.Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).
Developers certificate of origin