scverse / anndata

Annotated data.
http://anndata.readthedocs.io
BSD 3-Clause "New" or "Revised" License
570 stars 152 forks source link

Format sparse_dataset code #1524

Closed flying-sheep closed 3 months ago

flying-sheep commented 3 months ago

Add some typing and so on

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 85.71429% with 4 lines in your changes missing coverage. Please review.

Project coverage is 84.36%. Comparing base (5de4085) to head (a853b18). Report is 69 commits behind head on main.

Files with missing lines Patch % Lines
...anndata/experimental/multi_files/_anncollection.py 0.00% 3 Missing :warning:
src/anndata/_core/sparse_dataset.py 95.23% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1524 +/- ## ========================================== - Coverage 84.38% 84.36% -0.03% ========================================== Files 35 35 Lines 5695 5699 +4 ========================================== + Hits 4806 4808 +2 - Misses 889 891 +2 ``` | [Files with missing lines](https://app.codecov.io/gh/scverse/anndata/pull/1524?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse) | Coverage Δ | | |---|---|---| | [src/anndata/\_core/aligned\_mapping.py](https://app.codecov.io/gh/scverse/anndata/pull/1524?src=pr&el=tree&filepath=src%2Fanndata%2F_core%2Faligned_mapping.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL2FubmRhdGEvX2NvcmUvYWxpZ25lZF9tYXBwaW5nLnB5) | `91.96% <100.00%> (ø)` | | | [src/anndata/\_io/specs/methods.py](https://app.codecov.io/gh/scverse/anndata/pull/1524?src=pr&el=tree&filepath=src%2Fanndata%2F_io%2Fspecs%2Fmethods.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL2FubmRhdGEvX2lvL3NwZWNzL21ldGhvZHMucHk=) | `88.05% <100.00%> (ø)` | | | [src/anndata/utils.py](https://app.codecov.io/gh/scverse/anndata/pull/1524?src=pr&el=tree&filepath=src%2Fanndata%2Futils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL2FubmRhdGEvdXRpbHMucHk=) | `84.21% <100.00%> (ø)` | | | [src/anndata/\_core/sparse\_dataset.py](https://app.codecov.io/gh/scverse/anndata/pull/1524?src=pr&el=tree&filepath=src%2Fanndata%2F_core%2Fsparse_dataset.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL2FubmRhdGEvX2NvcmUvc3BhcnNlX2RhdGFzZXQucHk=) | `93.27% <95.23%> (-0.54%)` | :arrow_down: | | [...anndata/experimental/multi\_files/\_anncollection.py](https://app.codecov.io/gh/scverse/anndata/pull/1524?src=pr&el=tree&filepath=src%2Fanndata%2Fexperimental%2Fmulti_files%2F_anncollection.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL2FubmRhdGEvZXhwZXJpbWVudGFsL211bHRpX2ZpbGVzL19hbm5jb2xsZWN0aW9uLnB5) | `70.68% <0.00%> (ø)` | |