Closed robomics closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.91%. Comparing base (
9f426e7
) to head (929aafd
). Report is 21 commits behind head on main.:exclamation: Current head 929aafd differs from pull request most recent head 4ce7f54
Please upload reports for the commit 4ce7f54 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix integer overflow in .hic cache estimation
Fixes https://github.com/paulsengroup/hictk/issues/178
This overflow occurs when trying to estimate the block cache size of .hic files using chromosomes that are smaller than the file resolution.
The overflow is caused by the implicit (and incorrect!) assumption that there are always at least two relative bin IDs mapping to each chromosome, and that is thus always safe to decrement the last chromosome bin ID by 1.