mudata 0.3.3__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mudata-0.3.3 → mudata-0.3.4}/.codecov.yaml +1 -2
- {mudata-0.3.3 → mudata-0.3.4}/.pre-commit-config.yaml +3 -3
- {mudata-0.3.3 → mudata-0.3.4}/CHANGELOG.md +27 -11
- {mudata-0.3.3 → mudata-0.3.4}/PKG-INFO +11 -3
- {mudata-0.3.3 → mudata-0.3.4}/README.md +5 -2
- mudata-0.3.4/docs/_templates/autosummary/class.rst +61 -0
- mudata-0.3.4/docs/api.md +60 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/conf.py +8 -1
- mudata-0.3.4/docs/extensions/member_type.py +34 -0
- mudata-0.3.4/docs/extensions/typed_returns.py +32 -0
- {mudata-0.3.3 → mudata-0.3.4}/pyproject.toml +31 -55
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/__init__.py +8 -1
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/config.py +1 -1
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/file_backing.py +1 -1
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/io.py +241 -254
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/merge.py +14 -13
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/mudata.py +351 -328
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/to_.py +13 -13
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/utils.py +46 -56
- mudata-0.3.4/src/mudata/_version.py +24 -0
- mudata-0.3.4/tests/conftest.py +68 -0
- mudata-0.3.4/tests/test_axis_-1.py +16 -0
- mudata-0.3.4/tests/test_from_to.py +30 -0
- mudata-0.3.4/tests/test_io.py +225 -0
- mudata-0.3.4/tests/test_merge.py +20 -0
- mudata-0.3.3/tests/test_repr.py → mudata-0.3.4/tests/test_nested.py +14 -14
- mudata-0.3.4/tests/test_obs_var.py +120 -0
- mudata-0.3.4/tests/test_pandas_utils.py +47 -0
- mudata-0.3.4/tests/test_pull_push.py +478 -0
- mudata-0.3.4/tests/test_repr.py +43 -0
- {mudata-0.3.3 → mudata-0.3.4}/tests/test_update.py +158 -110
- mudata-0.3.4/tests/test_view_copy.py +240 -0
- mudata-0.3.3/docs/_templates/autosummary/class.rst +0 -61
- mudata-0.3.3/docs/api.md +0 -32
- mudata-0.3.3/src/mudata/_version.py +0 -34
- mudata-0.3.3/src/mudata/version.py +0 -37
- mudata-0.3.3/tests/conftest.py +0 -27
- mudata-0.3.3/tests/test_axis_-1.py +0 -25
- mudata-0.3.3/tests/test_io.py +0 -73
- mudata-0.3.3/tests/test_merge.py +0 -47
- mudata-0.3.3/tests/test_mod_order.py +0 -55
- mudata-0.3.3/tests/test_nullable.py +0 -40
- mudata-0.3.3/tests/test_obs_var.py +0 -80
- mudata-0.3.3/tests/test_pull_push.py +0 -333
- mudata-0.3.3/tests/test_to_.py +0 -48
- mudata-0.3.3/tests/test_update_axis_1.py +0 -216
- mudata-0.3.3/tests/test_view_copy.py +0 -211
- {mudata-0.3.3 → mudata-0.3.4}/.cruft.json +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.editorconfig +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.github/workflows/build.yaml +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.github/workflows/release.yaml +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.github/workflows/test.yaml +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.gitignore +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/.readthedocs.yaml +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/CITATION.cff +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/DESIGN.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/LICENSE +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/biome.jsonc +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/Makefile +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/_static/img/mudata.png +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/_static/img/mudata.svg +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/_static/img/muon_header.png +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/_static/img/muon_logo.png +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/_static/img/muon_logo_coloured.png +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/_templates/.gitkeep +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/changelog.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/contributing.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/index.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/install.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/io/input.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/io/mudata.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/io/output.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/io/spec.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/notebooks/annotations_management.ipynb +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/notebooks/axes.ipynb +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/notebooks/nuances.ipynb +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/notebooks/quickstart_mudata.ipynb +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/references.bib +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/docs/references.md +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/__init__.py +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/compat.py +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/repr.py +0 -0
- {mudata-0.3.3 → mudata-0.3.4}/src/mudata/_core/views.py +0 -0
|
@@ -7,16 +7,16 @@ default_stages:
|
|
|
7
7
|
minimum_pre_commit_version: 2.16.0
|
|
8
8
|
repos:
|
|
9
9
|
- repo: https://github.com/biomejs/pre-commit
|
|
10
|
-
rev: v2.
|
|
10
|
+
rev: v2.4.10
|
|
11
11
|
hooks:
|
|
12
12
|
- id: biome-format
|
|
13
13
|
exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually.
|
|
14
14
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
15
|
-
rev: v2.
|
|
15
|
+
rev: v2.21.0
|
|
16
16
|
hooks:
|
|
17
17
|
- id: pyproject-fmt
|
|
18
18
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
19
|
-
rev: v0.
|
|
19
|
+
rev: v0.15.9
|
|
20
20
|
hooks:
|
|
21
21
|
- id: ruff-check
|
|
22
22
|
types_or: [python, pyi, jupyter]
|
|
@@ -8,6 +8,21 @@ and this project adheres to [Semantic Versioning][].
|
|
|
8
8
|
[keep a changelog]: https://keepachangelog.com/en/1.1.0/
|
|
9
9
|
[semantic versioning]: https://semver.org/spec/v2.0.0.html
|
|
10
10
|
|
|
11
|
+
## [0.3.4]
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `mudata.register_mudata_namespace()` functionality for adding custom functionality to `MuData` objects.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- `update()`, `push_obs()`, `push_var()`, `pull_obs()`, and `pull_var()` now try harder to preserve the dtype of the dataframe columns
|
|
20
|
+
|
|
21
|
+
### Deprecated
|
|
22
|
+
|
|
23
|
+
- `MuData.mod_names`, `MuData.obs_keys`, `MuData.var_keys`, `MuData.obsm_keys`, `MuData.varm_keys`, `MuData.uns_keys`, `MuData.obs_vector`, `MuData.var_vector`.
|
|
24
|
+
Their analogs in AnnData will be deprecated in AnnData 0.13.
|
|
25
|
+
|
|
11
26
|
## [0.3.3]
|
|
12
27
|
|
|
13
28
|
### Fixed
|
|
@@ -129,15 +144,16 @@ To copy the annotations explicitly, you will need to use `pull_obs()` and/or `pu
|
|
|
129
144
|
|
|
130
145
|
Initial `mudata` release with `MuData`, previously a part of the `muon` framework.
|
|
131
146
|
|
|
132
|
-
[0.3.
|
|
133
|
-
[0.3.
|
|
134
|
-
[0.3.
|
|
135
|
-
[0.3.
|
|
136
|
-
[0.
|
|
137
|
-
[0.2.
|
|
138
|
-
[0.2.
|
|
139
|
-
[0.2.
|
|
140
|
-
[0.2.
|
|
141
|
-
[0.
|
|
142
|
-
[0.1.
|
|
147
|
+
[0.3.4]: https://github.com/scverse/mudata/releases/tag/v0.3.4
|
|
148
|
+
[0.3.3]: https://github.com/scverse/mudata/releases/tag/v0.3.3
|
|
149
|
+
[0.3.2]: https://github.com/scverse/mudata/releases/tag/v0.3.2
|
|
150
|
+
[0.3.1]: https://github.com/scverse/mudata/releases/tag/v0.3.1
|
|
151
|
+
[0.3.0]: https://github.com/scverse/mudata/releases/tag/v0.3.0
|
|
152
|
+
[0.2.4]: https://github.com/scverse/mudata/releases/tag/v0.2.4
|
|
153
|
+
[0.2.3]: https://github.com/scverse/mudata/releases/tag/v0.2.3
|
|
154
|
+
[0.2.2]: https://github.com/scverse/mudata/releases/tag/v0.2.2
|
|
155
|
+
[0.2.1]: https://github.com/scverse/mudata/releases/tag/v0.2.1
|
|
156
|
+
[0.2.0]: https://github.com/scverse/mudata/releases/tag/v0.2.0
|
|
157
|
+
[0.1.2]: https://github.com/scverse/mudata/releases/tag/v0.1.2
|
|
158
|
+
[0.1.1]: https://github.com/scverse/mudata/releases/tag/v0.1.1
|
|
143
159
|
[0.1.0]: https://github.com/scverse/mudata/releases/tag/v0.1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mudata
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Multimodal data
|
|
5
5
|
Project-URL: Documentation, https://mudata.readthedocs.io/
|
|
6
6
|
Project-URL: Homepage, https://muons.scverse.org
|
|
@@ -50,23 +50,30 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
50
50
|
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
51
51
|
Requires-Python: >=3.10
|
|
52
52
|
Requires-Dist: anndata>=0.10.8
|
|
53
|
+
Requires-Dist: h5py
|
|
53
54
|
Requires-Dist: numpy
|
|
54
55
|
Requires-Dist: pandas>=1.4
|
|
55
56
|
Requires-Dist: scipy
|
|
57
|
+
Requires-Dist: scverse-misc>=0.0.3
|
|
56
58
|
Requires-Dist: session-info2
|
|
59
|
+
Provides-Extra: io
|
|
60
|
+
Requires-Dist: fsspec; extra == 'io'
|
|
61
|
+
Requires-Dist: zarr; extra == 'io'
|
|
57
62
|
Description-Content-Type: text/markdown
|
|
58
63
|
|
|
59
64
|

|
|
60
65
|
|
|
61
66
|
[![PyPI][badge-pypi]][pypi]
|
|
62
67
|
[![Tests][badge-tests]][tests]
|
|
68
|
+
[![codecov][badge-codecov]][codecov]
|
|
63
69
|
[![Documentation][badge-docs]][documentation]
|
|
64
70
|
[![Powered by scverse][badge-scverse]][scverse]
|
|
65
71
|
[![Powered by NumFOCUS][badge-numfocus]][numfocus]
|
|
66
72
|
|
|
73
|
+
[badge-pypi]: https://img.shields.io/pypi/v/mudata
|
|
67
74
|
[badge-tests]: https://img.shields.io/github/actions/workflow/status/scverse/mudata/test.yaml?branch=main
|
|
75
|
+
[badge-codecov]: https://codecov.io/gh/scverse/mudata/graph/badge.svg?token=L0Gek3V26p
|
|
68
76
|
[badge-docs]: https://img.shields.io/readthedocs/mudata
|
|
69
|
-
[badge-pypi]: https://img.shields.io/pypi/v/mudata
|
|
70
77
|
[badge-numfocus]: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
|
|
71
78
|
[badge-scverse]: https://img.shields.io/badge/scverse-core-black.svg?labelColor=white&logo=data:image/svg%2bxml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgOTEgOTEiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIgogICAgeG1sbnM6c2VyaWY9Imh0dHA6Ly93d3cuc2VyaWYuY29tLyIgc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoyOyI+CiAgICA8ZyBpZD0iRWJlbmVfMyI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNSw4OS42Yy0yMi4zLC0zLjQgLTMwLjYsLTE5LjggLTMwLjYsLTE5LjhjMTAuOCwxNi45IDQzLDkuMSA1Mi45LDIuNWMxMi40LC04LjMgOCwtMTUuMyA2LjgsLTE4LjFjNS40LDcuMiA1LjMsMjMuNSAtMS4xLDI5LjRjLTUuNiw1LjEgLTE1LjMsNy45IC0yOCw2WiIgc3R5bGU9ImZpbGw6I2ZmZjtmaWxsLXJ1bGU6bm9uemVybztzdHJva2U6IzAwMDtzdHJva2Utd2lkdGg6MXB4OyIvPgogICAgICAgICAgICA8cGF0aCBkPSJNODMuOSw0My41YzIuOSwtNy4xIDAuOCwtMTIuNSAwLjUsLTEzLjNjLTAuNywtMS4zIC0xLjUsLTIuMyAtMi40LC0zLjFjLTE2LjEsLTEyLjYgLTU1LjksMSAtNzAuOSwxNi44Yy0xMC45LDExLjUgLTEwLjEsMjAgLTYuNywyNS44YzMuMSw0LjggNy45LDcuNiAxMy40LDljLTExLjUsLTEyLjQgOS44LC0zMS4xIDI5LC0zOGMyMSwtNy41IDMyLjUsLTMgMzcuMSwyLjhaIiBzdHlsZT0iZmlsbDojMzQzNDM0O2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTojMDAwO3N0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik03OS42LDUwLjRjOSwtMTAuNSA1LC0xOS43IDQuOCwtMjAuNGMtMCwwIDQuNCw3LjEgMi4yLDIyLjZjLTEuMiw4LjUgLTUuNCwxNiAtMTAuMSwxMS44Yy0yLjEsLTEuOCAtMywtNi45IDMuMSwtMTRaIiBzdHlsZT0iZmlsbDojZmZmO2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTojMDAwO3N0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik02NCw1NC4yYy0zLjMsLTQuOCAtOC4xLC03LjQgLTEyLjMsLTEwLjhjLTIuMiwtMS43IC0xNi40LC0xMS4yIC0xOS4yLC0xNS4xYy02LjQsLTYuNCAtOS41LC0xNi45IC0zLjQsLTIzLjFjLTQuNCwtMC44IC04LjIsMC4yIC0xMC42LDEuNWMtMS4xLDAuNiAtMi4xLDEuMiAtMi44LDJjLTYuNyw2LjIgLTUuOCwxNyAtMS42LDI0LjNjNC41LDcuOCAxMy4yLDE1LjQgMjQuMywyMi44YzUuMSwzLjQgMTUuNiw4LjQgMTkuMywxNmMxMS43LC04LjEgNy42LC0xNC45IDYuMywtMTcuNloiIHN0eWxlPSJmaWxsOiNiNGI0YjQ7ZmlsbC1ydWxlOm5vbnplcm87c3Ryb2tlOiMwMDA7c3Ryb2tlLXdpZHRoOjFweDsiLz4KICAgICAgICAgICAgPHBhdGggZD0iTTM4LjcsOS44YzcuOSw2LjMgMTIuNCw5LjggMjAsOC41YzUuNywtMSA0LjksLTcuOSAtNCwtMTMuNmMtNC40LC0yLjggLTkuNCwtNC4yIC0xNS43LC00LjJjLTcuNSwtMCAtMTYuMywzLjkgLTIwLjYsNi40YzQsLTIuMyAxMS45LC0zLjggMjAuMywyLjlaIiBzdHlsZT0iZmlsbDojZmZmO2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTojMDAwO3N0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=
|
|
72
79
|
|
|
@@ -180,8 +187,9 @@ If you like scverse® and want to support our mission, please consider making a
|
|
|
180
187
|
</div>
|
|
181
188
|
|
|
182
189
|
[tests]: https://github.com/scverse/mudata/actions/workflows/test.yaml
|
|
190
|
+
[codecov]: https://codecov.io/gh/scverse/mudata
|
|
183
191
|
[documentation]: https://mudata.readthedocs.io
|
|
184
|
-
[changelog]: https://mudata.readthedocs.io/
|
|
192
|
+
[changelog]: https://mudata.readthedocs.io/latest/changelog.html
|
|
185
193
|
[pypi]: https://pypi.org/project/mudata
|
|
186
194
|
[numfocus]: https://numfocus.org
|
|
187
195
|
[scverse]: https://scverse.org
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
[![PyPI][badge-pypi]][pypi]
|
|
4
4
|
[![Tests][badge-tests]][tests]
|
|
5
|
+
[![codecov][badge-codecov]][codecov]
|
|
5
6
|
[![Documentation][badge-docs]][documentation]
|
|
6
7
|
[![Powered by scverse][badge-scverse]][scverse]
|
|
7
8
|
[![Powered by NumFOCUS][badge-numfocus]][numfocus]
|
|
8
9
|
|
|
10
|
+
[badge-pypi]: https://img.shields.io/pypi/v/mudata
|
|
9
11
|
[badge-tests]: https://img.shields.io/github/actions/workflow/status/scverse/mudata/test.yaml?branch=main
|
|
12
|
+
[badge-codecov]: https://codecov.io/gh/scverse/mudata/graph/badge.svg?token=L0Gek3V26p
|
|
10
13
|
[badge-docs]: https://img.shields.io/readthedocs/mudata
|
|
11
|
-
[badge-pypi]: https://img.shields.io/pypi/v/mudata
|
|
12
14
|
[badge-numfocus]: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
|
|
13
15
|
[badge-scverse]: https://img.shields.io/badge/scverse-core-black.svg?labelColor=white&logo=data:image/svg%2bxml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgOTEgOTEiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIgogICAgeG1sbnM6c2VyaWY9Imh0dHA6Ly93d3cuc2VyaWYuY29tLyIgc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoyOyI+CiAgICA8ZyBpZD0iRWJlbmVfMyI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNSw4OS42Yy0yMi4zLC0zLjQgLTMwLjYsLTE5LjggLTMwLjYsLTE5LjhjMTAuOCwxNi45IDQzLDkuMSA1Mi45LDIuNWMxMi40LC04LjMgOCwtMTUuMyA2LjgsLTE4LjFjNS40LDcuMiA1LjMsMjMuNSAtMS4xLDI5LjRjLTUuNiw1LjEgLTE1LjMsNy45IC0yOCw2WiIgc3R5bGU9ImZpbGw6I2ZmZjtmaWxsLXJ1bGU6bm9uemVybztzdHJva2U6IzAwMDtzdHJva2Utd2lkdGg6MXB4OyIvPgogICAgICAgICAgICA8cGF0aCBkPSJNODMuOSw0My41YzIuOSwtNy4xIDAuOCwtMTIuNSAwLjUsLTEzLjNjLTAuNywtMS4zIC0xLjUsLTIuMyAtMi40LC0zLjFjLTE2LjEsLTEyLjYgLTU1LjksMSAtNzAuOSwxNi44Yy0xMC45LDExLjUgLTEwLjEsMjAgLTYuNywyNS44YzMuMSw0LjggNy45LDcuNiAxMy40LDljLTExLjUsLTEyLjQgOS44LC0zMS4xIDI5LC0zOGMyMSwtNy41IDMyLjUsLTMgMzcuMSwyLjhaIiBzdHlsZT0iZmlsbDojMzQzNDM0O2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTojMDAwO3N0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik03OS42LDUwLjRjOSwtMTAuNSA1LC0xOS43IDQuOCwtMjAuNGMtMCwwIDQuNCw3LjEgMi4yLDIyLjZjLTEuMiw4LjUgLTUuNCwxNiAtMTAuMSwxMS44Yy0yLjEsLTEuOCAtMywtNi45IDMuMSwtMTRaIiBzdHlsZT0iZmlsbDojZmZmO2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTojMDAwO3N0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik02NCw1NC4yYy0zLjMsLTQuOCAtOC4xLC03LjQgLTEyLjMsLTEwLjhjLTIuMiwtMS43IC0xNi40LC0xMS4yIC0xOS4yLC0xNS4xYy02LjQsLTYuNCAtOS41LC0xNi45IC0zLjQsLTIzLjFjLTQuNCwtMC44IC04LjIsMC4yIC0xMC42LDEuNWMtMS4xLDAuNiAtMi4xLDEuMiAtMi44LDJjLTYuNyw2LjIgLTUuOCwxNyAtMS42LDI0LjNjNC41LDcuOCAxMy4yLDE1LjQgMjQuMywyMi44YzUuMSwzLjQgMTUuNiw4LjQgMTkuMywxNmMxMS43LC04LjEgNy42LC0xNC45IDYuMywtMTcuNloiIHN0eWxlPSJmaWxsOiNiNGI0YjQ7ZmlsbC1ydWxlOm5vbnplcm87c3Ryb2tlOiMwMDA7c3Ryb2tlLXdpZHRoOjFweDsiLz4KICAgICAgICAgICAgPHBhdGggZD0iTTM4LjcsOS44YzcuOSw2LjMgMTIuNCw5LjggMjAsOC41YzUuNywtMSA0LjksLTcuOSAtNCwtMTMuNmMtNC40LC0yLjggLTkuNCwtNC4yIC0xNS43LC00LjJjLTcuNSwtMCAtMTYuMywzLjkgLTIwLjYsNi40YzQsLTIuMyAxMS45LC0zLjggMjAuMywyLjlaIiBzdHlsZT0iZmlsbDojZmZmO2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTojMDAwO3N0cm9rZS13aWR0aDoxcHg7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=
|
|
14
16
|
|
|
@@ -122,8 +124,9 @@ If you like scverse® and want to support our mission, please consider making a
|
|
|
122
124
|
</div>
|
|
123
125
|
|
|
124
126
|
[tests]: https://github.com/scverse/mudata/actions/workflows/test.yaml
|
|
127
|
+
[codecov]: https://codecov.io/gh/scverse/mudata
|
|
125
128
|
[documentation]: https://mudata.readthedocs.io
|
|
126
|
-
[changelog]: https://mudata.readthedocs.io/
|
|
129
|
+
[changelog]: https://mudata.readthedocs.io/latest/changelog.html
|
|
127
130
|
[pypi]: https://pypi.org/project/mudata
|
|
128
131
|
[numfocus]: https://numfocus.org
|
|
129
132
|
[scverse]: https://scverse.org
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{{ fullname | escape | underline}}
|
|
2
|
+
|
|
3
|
+
.. currentmodule:: {{ module }}
|
|
4
|
+
|
|
5
|
+
.. add toctree option to make autodoc generate the pages
|
|
6
|
+
|
|
7
|
+
.. autoclass:: {{ objname }}
|
|
8
|
+
|
|
9
|
+
{% block attributes %}
|
|
10
|
+
{% if attributes %}
|
|
11
|
+
Attributes table
|
|
12
|
+
~~~~~~~~~~~~~~~~
|
|
13
|
+
|
|
14
|
+
.. autosummary::
|
|
15
|
+
{% for item in attributes %}
|
|
16
|
+
~{{ name }}.{{ item }}
|
|
17
|
+
{%- endfor %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block methods %}
|
|
22
|
+
{% if methods %}
|
|
23
|
+
Methods table
|
|
24
|
+
~~~~~~~~~~~~~
|
|
25
|
+
|
|
26
|
+
.. autosummary::
|
|
27
|
+
{% for item in methods %}
|
|
28
|
+
{%- if item != '__init__' %}
|
|
29
|
+
~{{ name }}.{{ item }}
|
|
30
|
+
{%- endif -%}
|
|
31
|
+
{%- endfor %}
|
|
32
|
+
{% endif %}
|
|
33
|
+
{% endblock %}
|
|
34
|
+
|
|
35
|
+
{% block attributes_documentation %}
|
|
36
|
+
{% if attributes %}
|
|
37
|
+
Attributes
|
|
38
|
+
~~~~~~~~~~
|
|
39
|
+
|
|
40
|
+
{% for item in attributes %}
|
|
41
|
+
|
|
42
|
+
.. auto{{ [fullname, item] | join(".") | member_type }}:: {{ [objname, item] | join(".") }}
|
|
43
|
+
{%- endfor %}
|
|
44
|
+
|
|
45
|
+
{% endif %}
|
|
46
|
+
{% endblock %}
|
|
47
|
+
|
|
48
|
+
{% block methods_documentation %}
|
|
49
|
+
{% if methods %}
|
|
50
|
+
Methods
|
|
51
|
+
~~~~~~~
|
|
52
|
+
|
|
53
|
+
{% for item in methods %}
|
|
54
|
+
{%- if item != '__init__' %}
|
|
55
|
+
|
|
56
|
+
.. automethod:: {{ [objname, item] | join(".") }}
|
|
57
|
+
{%- endif -%}
|
|
58
|
+
{%- endfor %}
|
|
59
|
+
|
|
60
|
+
{% endif %}
|
|
61
|
+
{% endblock %}
|
mudata-0.3.4/docs/api.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# API Reference
|
|
2
|
+
|
|
3
|
+
```{eval-rst}
|
|
4
|
+
.. module:: mudata
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
## Multimodal omics
|
|
8
|
+
|
|
9
|
+
```{eval-rst}
|
|
10
|
+
.. autosummary::
|
|
11
|
+
:toctree: generated
|
|
12
|
+
|
|
13
|
+
MuData
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Input/Output
|
|
17
|
+
|
|
18
|
+
```{eval-rst}
|
|
19
|
+
.. currentmodule:: mudata
|
|
20
|
+
.. autosummary::
|
|
21
|
+
:toctree: generated
|
|
22
|
+
|
|
23
|
+
to_anndata
|
|
24
|
+
to_mudata
|
|
25
|
+
concat
|
|
26
|
+
read
|
|
27
|
+
read_h5ad
|
|
28
|
+
read_anndata
|
|
29
|
+
read_h5mu
|
|
30
|
+
read_zarr
|
|
31
|
+
write
|
|
32
|
+
write_h5ad
|
|
33
|
+
write_anndata
|
|
34
|
+
write_h5mu
|
|
35
|
+
write_zarr
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Extensions
|
|
39
|
+
```{eval-rst}
|
|
40
|
+
.. autosummary::
|
|
41
|
+
:toctree: generated
|
|
42
|
+
|
|
43
|
+
register_mudata_namespace
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Types used by the former:
|
|
47
|
+
```{eval-rst}
|
|
48
|
+
.. autosummary::
|
|
49
|
+
:toctree: generated
|
|
50
|
+
|
|
51
|
+
ExtensionNamespace
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Settings
|
|
55
|
+
```{eval-rst}
|
|
56
|
+
.. autosummary::
|
|
57
|
+
:toctree: generated
|
|
58
|
+
|
|
59
|
+
set_options
|
|
60
|
+
```
|
|
@@ -62,7 +62,6 @@ extensions = [
|
|
|
62
62
|
"sphinx_design",
|
|
63
63
|
"IPython.sphinxext.ipython_console_highlighting",
|
|
64
64
|
"sphinxext.opengraph",
|
|
65
|
-
"sphinx_automodapi.automodapi",
|
|
66
65
|
*[p.stem for p in (HERE / "extensions").glob("*.py")],
|
|
67
66
|
]
|
|
68
67
|
|
|
@@ -89,12 +88,20 @@ ogp_social_cards = {
|
|
|
89
88
|
|
|
90
89
|
source_suffix = {".rst": "restructuredtext", ".ipynb": "myst-nb", ".myst": "myst-nb"}
|
|
91
90
|
|
|
91
|
+
# FIXME: remove this workaround when anndata 0.13 is released so docs are built with Pandas 3
|
|
92
|
+
import pandas as pd # noqa: E402
|
|
93
|
+
|
|
94
|
+
pd.DataFrame.__module__ = "pandas"
|
|
95
|
+
pd.Index.__module__ = "pandas"
|
|
96
|
+
|
|
92
97
|
intersphinx_mapping = {
|
|
93
98
|
"python": ("https://docs.python.org/3", None),
|
|
94
99
|
"anndata": ("https://anndata.readthedocs.io/en/stable/", None),
|
|
95
100
|
"scanpy": ("https://scanpy.readthedocs.io/en/stable/", None),
|
|
96
101
|
"numpy": ("https://numpy.org/doc/stable/", None),
|
|
102
|
+
"pandas": ("https://pandas.pydata.org/docs/", None),
|
|
97
103
|
"fsspec": ("https://filesystem-spec.readthedocs.io/en/stable/", None),
|
|
104
|
+
"h5py": ("https://docs.h5py.org/en/stable/", None),
|
|
98
105
|
"zarr": ("https://zarr.readthedocs.io/en/stable/", None),
|
|
99
106
|
}
|
|
100
107
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""Extension adding a jinja2 filter that determines a class member’s type."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import TYPE_CHECKING, Literal
|
|
6
|
+
|
|
7
|
+
from jinja2.defaults import DEFAULT_FILTERS
|
|
8
|
+
from jinja2.utils import import_string
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
from sphinx.application import Sphinx
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def member_type(obj_path: str) -> Literal["method", "property", "attribute"]:
|
|
15
|
+
"""Determine object member type.
|
|
16
|
+
|
|
17
|
+
E.g.: `.. auto{{ fullname | member_type }}::`
|
|
18
|
+
"""
|
|
19
|
+
# https://jinja.palletsprojects.com/en/stable/api/#custom-filters
|
|
20
|
+
cls_path, member_name = obj_path.rsplit(".", 1)
|
|
21
|
+
cls = import_string(cls_path)
|
|
22
|
+
member = getattr(cls, member_name, None)
|
|
23
|
+
match member:
|
|
24
|
+
case property():
|
|
25
|
+
return "property"
|
|
26
|
+
case _ if callable(member):
|
|
27
|
+
return "method"
|
|
28
|
+
case _:
|
|
29
|
+
return "attribute"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def setup(app: Sphinx):
|
|
33
|
+
"""App setup hook."""
|
|
34
|
+
DEFAULT_FILTERS["member_type"] = member_type
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# code from https://github.com/theislab/scanpy/blob/master/docs/extensions/typed_returns.py
|
|
2
|
+
# with some minor adjustment
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import re
|
|
6
|
+
from collections.abc import Generator, Iterable
|
|
7
|
+
|
|
8
|
+
from sphinx.application import Sphinx
|
|
9
|
+
from sphinx.ext.napoleon import NumpyDocstring
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _process_return(lines: Iterable[str]) -> Generator[str, None, None]:
|
|
13
|
+
for line in lines:
|
|
14
|
+
if m := re.fullmatch(r"(?P<param>\w+)\s+:\s+(?P<type>[\w.]+)", line):
|
|
15
|
+
yield f"-{m['param']} (:class:`~{m['type']}`)"
|
|
16
|
+
else:
|
|
17
|
+
yield line
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _parse_returns_section(self: NumpyDocstring, section: str) -> list[str]:
|
|
21
|
+
lines_raw = self._dedent(self._consume_to_next_section())
|
|
22
|
+
if lines_raw[0] == ":":
|
|
23
|
+
del lines_raw[0]
|
|
24
|
+
lines = self._format_block(":returns: ", list(_process_return(lines_raw)))
|
|
25
|
+
if lines and lines[-1]:
|
|
26
|
+
lines.append("")
|
|
27
|
+
return lines
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def setup(app: Sphinx):
|
|
31
|
+
"""Set app."""
|
|
32
|
+
NumpyDocstring._parse_returns_section = _parse_returns_section
|
|
@@ -28,15 +28,17 @@ classifiers = [
|
|
|
28
28
|
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
29
29
|
]
|
|
30
30
|
dynamic = [ "version" ]
|
|
31
|
-
|
|
32
31
|
dependencies = [
|
|
33
32
|
"anndata>=0.10.8",
|
|
33
|
+
"h5py",
|
|
34
34
|
"numpy",
|
|
35
35
|
"pandas>=1.4",
|
|
36
36
|
"scipy",
|
|
37
|
+
"scverse-misc>=0.0.3",
|
|
37
38
|
# for debug logging (referenced from the issue template)
|
|
38
39
|
"session-info2",
|
|
39
40
|
]
|
|
41
|
+
optional-dependencies.io = [ "fsspec", "zarr" ]
|
|
40
42
|
# https://docs.pypi.org/project_metadata/#project-urls
|
|
41
43
|
urls.Documentation = "https://mudata.readthedocs.io/"
|
|
42
44
|
urls.Homepage = "https://muons.scverse.org"
|
|
@@ -44,81 +46,55 @@ urls.Source = "https://github.com/scverse/mudata"
|
|
|
44
46
|
|
|
45
47
|
[dependency-groups]
|
|
46
48
|
dev = [
|
|
47
|
-
"
|
|
48
|
-
"hatch-vcs", # for version handling in editable mode
|
|
49
|
+
"mudata[io]",
|
|
49
50
|
"pre-commit",
|
|
50
51
|
"twine>=4.0.2",
|
|
51
|
-
"zarr",
|
|
52
|
-
]
|
|
53
|
-
|
|
54
|
-
test = [
|
|
55
|
-
"coverage>=7.10",
|
|
56
|
-
"pytest",
|
|
57
|
-
"zarr",
|
|
58
52
|
]
|
|
59
|
-
|
|
53
|
+
test = [ "coverage>=7.10", "mudata[io]", "pytest" ]
|
|
60
54
|
doc = [
|
|
61
55
|
"docutils>=0.8,!=0.18.*,!=0.19.*",
|
|
62
56
|
"ipykernel",
|
|
63
57
|
"ipython",
|
|
58
|
+
"mudata[io]",
|
|
64
59
|
"myst-nb>=1.1",
|
|
65
60
|
"pandas",
|
|
66
61
|
"sphinx>=8.1",
|
|
67
62
|
"sphinx-autodoc-typehints",
|
|
68
|
-
"sphinx-automodapi",
|
|
69
63
|
"sphinx-book-theme>=1",
|
|
70
64
|
"sphinx-copybutton",
|
|
71
65
|
"sphinx-design",
|
|
72
66
|
"sphinxcontrib-bibtex>=1",
|
|
73
67
|
"sphinxcontrib-katex",
|
|
74
|
-
"sphinxext-opengraph"
|
|
68
|
+
"sphinxext-opengraph"
|
|
75
69
|
]
|
|
76
70
|
|
|
77
|
-
[tool.hatch
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
dependency-groups = [ "dev" ]
|
|
86
|
-
|
|
87
|
-
[
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
|
|
91
|
-
scripts.clean = "git clean -fdX -- {args:docs}"
|
|
92
|
-
|
|
93
|
-
# Test the lowest and highest supported Python versions with normal deps
|
|
94
|
-
[[tool.hatch.envs.hatch-test.matrix]]
|
|
95
|
-
deps = [ "stable" ]
|
|
96
|
-
python = [ "3.11", "3.14" ]
|
|
97
|
-
|
|
98
|
-
# Test the newest supported Python version also with pre-release deps
|
|
99
|
-
[[tool.hatch.envs.hatch-test.matrix]]
|
|
100
|
-
deps = [ "pre" ]
|
|
101
|
-
python = [ "3.14" ]
|
|
102
|
-
|
|
103
|
-
[tool.hatch.envs.hatch-test]
|
|
104
|
-
dependency-groups = [ "dev", "test" ]
|
|
105
|
-
|
|
106
|
-
[tool.hatch.envs.hatch-test.overrides]
|
|
71
|
+
[tool.hatch]
|
|
72
|
+
build.hooks.vcs.version-file = "src/mudata/_version.py"
|
|
73
|
+
envs.default.installer = "uv"
|
|
74
|
+
envs.default.dependency-groups = [ "dev" ]
|
|
75
|
+
envs.docs.dependency-groups = [ "doc" ]
|
|
76
|
+
envs.docs.scripts.build = "sphinx-build -M html docs docs/_build {args}"
|
|
77
|
+
envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
|
|
78
|
+
envs.docs.scripts.clean = "git clean -fdX -- {args:docs}"
|
|
79
|
+
envs.hatch-test.dependency-groups = [ "dev", "test" ]
|
|
80
|
+
envs.hatch-test.matrix = [
|
|
81
|
+
{ deps = [ "stable" ], python = [ "3.11", "3.14" ] },
|
|
82
|
+
{ deps = [ "pre" ], python = [ "3.14" ] }
|
|
83
|
+
]
|
|
107
84
|
# If the matrix variable `deps` is set to "pre",
|
|
108
85
|
# set the environment variable `UV_PRERELEASE` to "allow".
|
|
109
|
-
matrix.deps.env-vars = [
|
|
86
|
+
envs.hatch-test.overrides.matrix.deps.env-vars = [
|
|
110
87
|
{ key = "UV_PRERELEASE", value = "allow", if = [ "pre" ] },
|
|
111
88
|
]
|
|
89
|
+
version.source = "vcs"
|
|
112
90
|
|
|
113
91
|
[tool.ruff]
|
|
114
92
|
line-length = 120
|
|
115
93
|
src = [ "src" ]
|
|
116
94
|
extend-include = [ "*.ipynb" ]
|
|
117
|
-
|
|
118
95
|
format.skip-magic-trailing-comma = true
|
|
119
96
|
format.exclude = [ "*.ipynb" ]
|
|
120
97
|
format.docstring-code-format = true
|
|
121
|
-
|
|
122
98
|
lint.select = [
|
|
123
99
|
"B", # flake8-bugbear
|
|
124
100
|
"BLE", # flake8-blind-except
|
|
@@ -133,11 +109,11 @@ lint.select = [
|
|
|
133
109
|
"W", # Warning detected by Pycodestyle
|
|
134
110
|
]
|
|
135
111
|
lint.ignore = [
|
|
136
|
-
"B008",
|
|
137
|
-
"D100",
|
|
138
|
-
"D104",
|
|
139
|
-
"D105",
|
|
140
|
-
"D107",
|
|
112
|
+
"B008", # Errors from function calls in argument defaults. These are fine when the result is immutable.
|
|
113
|
+
"D100", # Missing docstring in public module
|
|
114
|
+
"D104", # Missing docstring in public package
|
|
115
|
+
"D105", # __magic__ methods are often self-explanatory, allow missing docstrings
|
|
116
|
+
"D107", # Missing docstring in __init__
|
|
141
117
|
# Disable one in each pair of mutually incompatible rules
|
|
142
118
|
"D203", # We don’t want a blank line before a class docstring
|
|
143
119
|
"D213", # <> We want docstrings to start immediately after the opening triple quote
|
|
@@ -161,12 +137,12 @@ addopts = [
|
|
|
161
137
|
"--import-mode=importlib", # allow using test files with same name
|
|
162
138
|
]
|
|
163
139
|
|
|
164
|
-
[tool.coverage
|
|
165
|
-
|
|
166
|
-
patch = [ "subprocess" ]
|
|
167
|
-
omit = [
|
|
140
|
+
[tool.coverage]
|
|
141
|
+
run.omit = [
|
|
168
142
|
"**/test_*.py",
|
|
169
143
|
]
|
|
144
|
+
run.patch = [ "subprocess" ]
|
|
145
|
+
run.source = [ "mudata" ]
|
|
170
146
|
|
|
171
147
|
[tool.cruft]
|
|
172
148
|
skip = [
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"""Multimodal datasets"""
|
|
2
2
|
|
|
3
3
|
from anndata import AnnData
|
|
4
|
+
from scverse_misc import ExtensionNamespace
|
|
5
|
+
from scverse_misc import make_register_namespace_decorator as _make_register_namespace_decorator
|
|
4
6
|
|
|
5
7
|
from ._core import utils
|
|
6
8
|
from ._core.config import set_options
|
|
@@ -19,11 +21,14 @@ from ._core.io import (
|
|
|
19
21
|
from ._core.merge import concat
|
|
20
22
|
from ._core.mudata import MuData
|
|
21
23
|
from ._core.to_ import to_anndata, to_mudata
|
|
22
|
-
from .
|
|
24
|
+
from ._version import __version__, __version_tuple__
|
|
23
25
|
|
|
26
|
+
# file format versions
|
|
24
27
|
__anndataversion__ = "0.1.0"
|
|
25
28
|
__mudataversion__ = "0.1.0"
|
|
26
29
|
|
|
30
|
+
register_mudata_namespace = _make_register_namespace_decorator(MuData, "mdata", "register_mudata_namespace", "numpy")
|
|
31
|
+
|
|
27
32
|
__all__ = [
|
|
28
33
|
"__version__",
|
|
29
34
|
"MuData",
|
|
@@ -43,4 +48,6 @@ __all__ = [
|
|
|
43
48
|
"write_anndata",
|
|
44
49
|
"write_h5mu",
|
|
45
50
|
"write_zarr",
|
|
51
|
+
"register_mudata_namespace",
|
|
52
|
+
"ExtensionNamespace",
|
|
46
53
|
]
|