Skip to content

Conversation

@atravitz
Copy link
Contributor

@atravitz atravitz commented Nov 20, 2025

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

  • Added a news entry

Developers certificate of origin

@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.01%. Comparing base (b0789ff) to head (b5a79c6).
⚠️ Report is 1 commits behind head on main.

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     
Flag Coverage Δ
fast-tests 93.01% <100.00%> (?)
slow-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@atravitz atravitz marked this pull request as ready for review November 20, 2025 19:59
@atravitz atravitz marked this pull request as draft November 20, 2025 20:00
@atravitz atravitz force-pushed the refactor/gather_use_pandas branch from 9ca58a2 to cafa5ef Compare November 21, 2025 18:37
@atravitz atravitz requested a review from mikemhenry November 21, 2025 18:56
@atravitz atravitz marked this pull request as ready for review November 21, 2025 18:56
Copy link
Contributor

@mikemhenry mikemhenry left a 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

Comment on lines 111 to 121
>>> 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
Copy link
Contributor

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

Copy link
Contributor Author

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

@github-actions
Copy link

No API break detected ✅

@mikemhenry mikemhenry enabled auto-merge (squash) November 21, 2025 20:49
@mikemhenry mikemhenry merged commit 82703be into main Nov 21, 2025
13 checks passed
@mikemhenry mikemhenry deleted the refactor/gather_use_pandas branch November 21, 2025 20:50
@atravitz atravitz mentioned this pull request Dec 4, 2025
7 tasks
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.

3 participants