-
Notifications
You must be signed in to change notification settings - Fork 35
Refactor/gather use pandas #1690
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1690 +/- ##
==========================================
- Coverage 95.40% 93.01% -2.40%
==========================================
Files 184 184
Lines 16033 16045 +12
==========================================
- Hits 15297 14924 -373
- Misses 736 1121 +385
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:
|
9ca58a2 to
cafa5ef
Compare
mikemhenry
left a comment
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.
This is pretty clear! Just one spot where I think the doc strings need to be updated and a few notes
| >>> df | ||
| ligand_i ligand_j DDG(i->j) (kcal/mol) uncertainty (kcal/mol) | ||
| 0 lig_ejm_31 lig_ejm_42 Error Error | ||
| 1 lig_ejm_31 lig_ejm_46 -0.89 0.06 | ||
| 2 lig_ejm_31 lig_ejm_47 0.0 0.1 | ||
| 3 lig_ejm_31 lig_ejm_48 0.61 0.09 | ||
| 4 lig_ejm_31 lig_ejm_50 1.00 0.04 | ||
| 5 lig_ejm_42 lig_ejm_43 1.4 0.2 | ||
| 6 lig_ejm_46 lig_jmc_23 0.29 0.09 | ||
| 7 lig_ejm_46 lig_jmc_27 -0.1 0.1 | ||
| 8 lig_ejm_46 lig_jmc_28 Error Error |
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 think this example is missing all the extra digits that format_df_with_precision is supposed to fix
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.
oof thanks for catching - copy paste mistake by me
|
No API break detected ✅ |
The addition of this function will allow us to separate calculations from formatting - we will be able to consistently format results just before writing to output, rather than formatting within the actual calculations themselves.
Checklist
newsentryDevelopers certificate of origin