chanzuckerberg / cellxgene-census

CZ CELLxGENE Discover Census
https://chanzuckerberg.github.io/cellxgene-census/
MIT License
79 stars 20 forks source link

[python] Geneformer updates for July 2024 LTS #961

Closed mlin closed 2 months ago

mlin commented 7 months ago

Sorry for the heavyweight PR -- numerous changes to our Geneformer API and workflows accumulated for the new LTS:

Noting loose ends for potential future cleanup:

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 72.54902% with 14 lines in your changes missing coverage. Please review.

Project coverage is 91.12%. Comparing base (f775282) to head (e12a102). Report is 2 commits behind head on main.

Files Patch % Lines
...xperimental/ml/huggingface/geneformer_tokenizer.py 72.34% 13 Missing :warning:
...sts/experimental/ml/huggingface/test_geneformer.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #961 +/- ## ========================================== - Coverage 91.19% 91.12% -0.07% ========================================== Files 77 79 +2 Lines 5971 6173 +202 ========================================== + Hits 5445 5625 +180 - Misses 526 548 +22 ``` | [Flag](https://app.codecov.io/gh/chanzuckerberg/cellxgene-census/pull/961/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chanzuckerberg) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/chanzuckerberg/cellxgene-census/pull/961/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chanzuckerberg) | `91.12% <72.54%> (-0.07%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=chanzuckerberg#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.