scverse / mudata

Multimodal Data (.h5mu) implementation for Python
https://mudata.rtfd.io
BSD 3-Clause "New" or "Revised" License
72 stars 16 forks source link

Conversion functions between formats #54

Closed gtca closed 3 weeks ago

gtca commented 10 months ago

Implements .to_anndata() and .to_mudata() as proposed in #14.

codecov-commenter commented 10 months ago

Codecov Report

Merging #54 (01a3cc7) into mudata-0.3 (29b5a11) will increase coverage by 0.97%. Report is 5 commits behind head on mudata-0.3. The diff coverage is 75.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## mudata-0.3 #54 +/- ## ============================================== + Coverage 69.12% 70.09% +0.97% ============================================== Files 14 17 +3 Lines 1671 1879 +208 ============================================== + Hits 1155 1317 +162 - Misses 516 562 +46 ``` | [Files Changed](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse) | Coverage Δ | | |---|---|---| | [mudata/\_core/io.py](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-bXVkYXRhL19jb3JlL2lvLnB5) | `64.43% <39.18%> (-5.63%)` | :arrow_down: | | [mudata/\_core/mudata.py](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-bXVkYXRhL19jb3JlL211ZGF0YS5weQ==) | `63.92% <78.43%> (+1.24%)` | :arrow_up: | | [mudata/\_core/to\_.py](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-bXVkYXRhL19jb3JlL3RvXy5weQ==) | `88.46% <88.46%> (ø)` | | | [mudata/\_\_init\_\_.py](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-bXVkYXRhL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [tests/test\_repr.py](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-dGVzdHMvdGVzdF9yZXByLnB5) | `100.00% <100.00%> (ø)` | | | [tests/test\_to\_.py](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-dGVzdHMvdGVzdF90b18ucHk=) | `100.00% <100.00%> (ø)` | | | [tests/test\_view\_copy.py](https://app.codecov.io/gh/scverse/mudata/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-dGVzdHMvdGVzdF92aWV3X2NvcHkucHk=) | `100.00% <100.00%> (ø)` | |