mudata 0.3.2__tar.gz → 0.3.3__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.
Files changed (84) hide show
  1. mudata-0.3.2/.codecov.yml → mudata-0.3.3/.codecov.yaml +2 -2
  2. mudata-0.3.3/.cruft.json +43 -0
  3. {mudata-0.3.2 → mudata-0.3.3}/.editorconfig +9 -6
  4. mudata-0.3.3/.github/ISSUE_TEMPLATE/bug_report.yml +93 -0
  5. mudata-0.3.3/.github/ISSUE_TEMPLATE/config.yml +5 -0
  6. mudata-0.3.3/.github/ISSUE_TEMPLATE/feature_request.yml +11 -0
  7. mudata-0.3.3/.github/workflows/build.yaml +30 -0
  8. mudata-0.3.3/.github/workflows/release.yaml +29 -0
  9. mudata-0.3.3/.github/workflows/test.yaml +107 -0
  10. mudata-0.3.3/.gitignore +27 -0
  11. mudata-0.3.3/.pre-commit-config.yaml +38 -0
  12. mudata-0.3.3/.readthedocs.yaml +16 -0
  13. mudata-0.3.3/CHANGELOG.md +143 -0
  14. mudata-0.3.3/PKG-INFO +191 -0
  15. mudata-0.3.3/README.md +133 -0
  16. mudata-0.3.3/biome.jsonc +17 -0
  17. mudata-0.3.3/docs/Makefile +20 -0
  18. mudata-0.3.3/docs/_static/img/mudata.png +0 -0
  19. mudata-0.3.3/docs/_static/img/mudata.svg +36 -0
  20. mudata-0.3.3/docs/_static/img/muon_header.png +0 -0
  21. mudata-0.3.3/docs/_static/img/muon_logo.png +0 -0
  22. mudata-0.3.3/docs/_static/img/muon_logo_coloured.png +0 -0
  23. mudata-0.3.3/docs/_templates/autosummary/class.rst +61 -0
  24. mudata-0.3.3/docs/api.md +32 -0
  25. mudata-0.3.3/docs/changelog.md +3 -0
  26. mudata-0.3.3/docs/conf.py +133 -0
  27. mudata-0.3.3/docs/contributing.md +338 -0
  28. mudata-0.3.3/docs/index.md +66 -0
  29. mudata-0.3.3/docs/install.md +32 -0
  30. mudata-0.3.3/docs/io/input.md +89 -0
  31. mudata-0.3.3/docs/io/mudata.md +181 -0
  32. mudata-0.3.3/docs/io/output.md +77 -0
  33. mudata-0.3.3/docs/io/spec.md +61 -0
  34. mudata-0.3.3/docs/notebooks/annotations_management.ipynb +2532 -0
  35. mudata-0.3.3/docs/notebooks/axes.ipynb +499 -0
  36. mudata-0.3.3/docs/notebooks/nuances.ipynb +707 -0
  37. mudata-0.3.3/docs/notebooks/quickstart_mudata.ipynb +845 -0
  38. mudata-0.3.3/docs/references.bib +26 -0
  39. mudata-0.3.3/docs/references.md +5 -0
  40. mudata-0.3.3/pyproject.toml +181 -0
  41. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/__init__.py +1 -10
  42. mudata-0.3.3/src/mudata/_core/compat.py +29 -0
  43. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/config.py +3 -7
  44. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/file_backing.py +5 -26
  45. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/io.py +49 -93
  46. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/merge.py +13 -33
  47. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/mudata.py +402 -674
  48. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/repr.py +9 -28
  49. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/to_.py +10 -16
  50. mudata-0.3.3/src/mudata/_core/utils.py +157 -0
  51. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_core/views.py +4 -13
  52. {mudata-0.3.2 → mudata-0.3.3}/src/mudata/_version.py +16 -3
  53. mudata-0.3.3/src/mudata/version.py +37 -0
  54. mudata-0.3.3/tests/conftest.py +27 -0
  55. {mudata-0.3.2 → mudata-0.3.3}/tests/test_axis_-1.py +1 -3
  56. {mudata-0.3.2 → mudata-0.3.3}/tests/test_io.py +1 -5
  57. mudata-0.3.3/tests/test_obs_var.py +80 -0
  58. {mudata-0.3.2 → mudata-0.3.3}/tests/test_pull_push.py +36 -13
  59. mudata-0.3.3/tests/test_update.py +464 -0
  60. {mudata-0.3.2 → mudata-0.3.3}/tests/test_update_axis_1.py +4 -10
  61. {mudata-0.3.2 → mudata-0.3.3}/tests/test_view_copy.py +23 -35
  62. mudata-0.3.2/.gitignore +0 -134
  63. mudata-0.3.2/.pre-commit-config.yaml +0 -6
  64. mudata-0.3.2/.readthedocs.yaml +0 -19
  65. mudata-0.3.2/CONTRIBUTING.md +0 -23
  66. mudata-0.3.2/MANIFEST.in +0 -1
  67. mudata-0.3.2/PKG-INFO +0 -149
  68. mudata-0.3.2/README.md +0 -115
  69. mudata-0.3.2/pyproject.toml +0 -103
  70. mudata-0.3.2/src/mudata/_core/compat.py +0 -47
  71. mudata-0.3.2/src/mudata/_core/utils.py +0 -212
  72. mudata-0.3.2/tests/conftest.py +0 -26
  73. mudata-0.3.2/tests/test_obs_var.py +0 -53
  74. mudata-0.3.2/tests/test_update.py +0 -236
  75. {mudata-0.3.2 → mudata-0.3.3}/CITATION.cff +0 -0
  76. {mudata-0.3.2 → mudata-0.3.3}/DESIGN.md +0 -0
  77. {mudata-0.3.2 → mudata-0.3.3}/LICENSE +0 -0
  78. /mudata-0.3.2/src/mudata/_core/__init__.py → /mudata-0.3.3/docs/_templates/.gitkeep +0 -0
  79. {mudata-0.3.2/tests → mudata-0.3.3/src/mudata/_core}/__init__.py +0 -0
  80. {mudata-0.3.2 → mudata-0.3.3}/tests/test_merge.py +0 -0
  81. {mudata-0.3.2 → mudata-0.3.3}/tests/test_mod_order.py +0 -0
  82. {mudata-0.3.2 → mudata-0.3.3}/tests/test_nullable.py +0 -0
  83. {mudata-0.3.2 → mudata-0.3.3}/tests/test_repr.py +0 -0
  84. {mudata-0.3.2 → mudata-0.3.3}/tests/test_to_.py +0 -0
@@ -1,4 +1,4 @@
1
- # Based on pydata/xarray, anndata
1
+ # Based on pydata/xarray
2
2
  codecov:
3
3
  require_ci_to_pass: no
4
4
 
@@ -12,6 +12,6 @@ coverage:
12
12
  changes: false
13
13
 
14
14
  comment:
15
- layout: "diff, flags, files"
15
+ layout: diff, flags, files
16
16
  behavior: once
17
17
  require_base: no
@@ -0,0 +1,43 @@
1
+ {
2
+ "template": "https://github.com/scverse/cookiecutter-scverse",
3
+ "commit": "77339226581ec535e1972984083ae70b702e7bec",
4
+ "checkout": null,
5
+ "context": {
6
+ "cookiecutter": {
7
+ "project_name": "mudata",
8
+ "package_name": "mudata",
9
+ "project_description": "Multimodal data",
10
+ "author_full_name": "Danila Bredikhin",
11
+ "author_email": "danila@stanford.edu",
12
+ "github_user": "scverse",
13
+ "github_repo": "mudata",
14
+ "license": "BSD 3-Clause License",
15
+ "ide_integration": false,
16
+ "_copy_without_render": [
17
+ ".github/workflows/build.yaml",
18
+ ".github/workflows/test.yaml",
19
+ "docs/_templates/autosummary/**.rst"
20
+ ],
21
+ "_exclude_on_template_update": [
22
+ "CHANGELOG.md",
23
+ "LICENSE",
24
+ "README.md",
25
+ "docs/api.md",
26
+ "docs/index.md",
27
+ "docs/notebooks/example.ipynb",
28
+ "docs/references.bib",
29
+ "docs/references.md",
30
+ "src/**",
31
+ "tests/**"
32
+ ],
33
+ "_render_devdocs": false,
34
+ "_jinja2_env_vars": {
35
+ "lstrip_blocks": true,
36
+ "trim_blocks": true
37
+ },
38
+ "_template": "https://github.com/scverse/cookiecutter-scverse",
39
+ "_commit": "77339226581ec535e1972984083ae70b702e7bec"
40
+ }
41
+ },
42
+ "directory": null
43
+ }
@@ -1,12 +1,15 @@
1
1
  root = true
2
2
 
3
3
  [*]
4
- charset = utf-8
4
+ indent_style = space
5
+ indent_size = 4
5
6
  end_of_line = lf
6
- insert_final_newline = true
7
+ charset = utf-8
7
8
  trim_trailing_whitespace = true
8
- max_line_length = 100
9
+ insert_final_newline = true
9
10
 
10
- [*.py]
11
- indent_size = 4
12
- indent_style = space
11
+ [{*.{yml,yaml,toml},.cruft.json}]
12
+ indent_size = 2
13
+
14
+ [Makefile]
15
+ indent_style = tab
@@ -0,0 +1,93 @@
1
+ name: Bug report
2
+ description: Report something that is broken or incorrect
3
+ type: Bug
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
9
+ detailing how to provide the necessary information for us to reproduce your bug. In brief:
10
+ * Please provide exact steps how to reproduce the bug in a clean Python environment.
11
+ * In case it's not clear what's causing this bug, please provide the data or the data generation procedure.
12
+ * Replicate problems on public datasets or share data subsets when full sharing isn't possible.
13
+
14
+ - type: textarea
15
+ id: report
16
+ attributes:
17
+ label: Report
18
+ description: A clear and concise description of what the bug is.
19
+ validations:
20
+ required: true
21
+
22
+ - type: textarea
23
+ id: versions
24
+ attributes:
25
+ label: Versions
26
+ description: |
27
+ Which version of packages.
28
+
29
+ Please install `session-info2`, run the following command in a notebook,
30
+ click the “Copy as Markdown” button, then paste the results into the text box below.
31
+
32
+ ```python
33
+ In[1]: import session_info2; session_info2.session_info(dependencies=True)
34
+ ```
35
+
36
+ Alternatively, run this in a console:
37
+
38
+ ```python
39
+ >>> import session_info2; print(session_info2.session_info(dependencies=True)._repr_mimebundle_()["text/markdown"])
40
+ ```
41
+ render: python
42
+ placeholder: |
43
+ anndata 0.11.3
44
+ ---- ----
45
+ charset-normalizer 3.4.1
46
+ coverage 7.7.0
47
+ psutil 7.0.0
48
+ dask 2024.7.1
49
+ jaraco.context 5.3.0
50
+ numcodecs 0.15.1
51
+ jaraco.functools 4.0.1
52
+ Jinja2 3.1.6
53
+ sphinxcontrib-jsmath 1.0.1
54
+ sphinxcontrib-htmlhelp 2.1.0
55
+ toolz 1.0.0
56
+ session-info2 0.1.2
57
+ PyYAML 6.0.2
58
+ llvmlite 0.44.0
59
+ scipy 1.15.2
60
+ pandas 2.2.3
61
+ sphinxcontrib-devhelp 2.0.0
62
+ h5py 3.13.0
63
+ tblib 3.0.0
64
+ setuptools-scm 8.2.0
65
+ more-itertools 10.3.0
66
+ msgpack 1.1.0
67
+ sparse 0.15.5
68
+ wrapt 1.17.2
69
+ jaraco.collections 5.1.0
70
+ numba 0.61.0
71
+ pyarrow 19.0.1
72
+ pytz 2025.1
73
+ MarkupSafe 3.0.2
74
+ crc32c 2.7.1
75
+ sphinxcontrib-qthelp 2.0.0
76
+ sphinxcontrib-serializinghtml 2.0.0
77
+ zarr 2.18.4
78
+ asciitree 0.3.3
79
+ six 1.17.0
80
+ sphinxcontrib-applehelp 2.0.0
81
+ numpy 2.1.3
82
+ cloudpickle 3.1.1
83
+ sphinxcontrib-bibtex 2.6.3
84
+ natsort 8.4.0
85
+ jaraco.text 3.12.1
86
+ setuptools 76.1.0
87
+ Deprecated 1.2.18
88
+ packaging 24.2
89
+ python-dateutil 2.9.0.post0
90
+ ---- ----
91
+ Python 3.13.2 | packaged by conda-forge | (main, Feb 17 2025, 14:10:22) [GCC 13.3.0]
92
+ OS Linux-6.11.0-109019-tuxedo-x86_64-with-glibc2.39
93
+ Updated 2025-03-18 15:47
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Scverse Community Forum
4
+ url: https://discourse.scverse.org/
5
+ about: If you have questions about “How to do X”, please ask them here.
@@ -0,0 +1,11 @@
1
+ name: Feature request
2
+ description: Propose a new feature for mudata
3
+ type: Enhancement
4
+ body:
5
+ - type: textarea
6
+ id: description
7
+ attributes:
8
+ label: Description of feature
9
+ description: Please describe your suggestion for a new feature. It might help to describe a problem or use case, plus any alternatives that you have considered.
10
+ validations:
11
+ required: true
@@ -0,0 +1,30 @@
1
+ name: Check Build
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - "v[0-9]+.[0-9]+.x"
8
+ pull_request:
9
+ branches:
10
+ - main
11
+ - "v[0-9]+.[0-9]+.x"
12
+
13
+ concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ package:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v6
22
+ with:
23
+ filter: blob:none
24
+ fetch-depth: 0
25
+ - name: Install uv
26
+ uses: astral-sh/setup-uv@v7
27
+ - name: Build package
28
+ run: uv build
29
+ - name: Check package
30
+ run: uvx twine check --strict dist/*.whl
@@ -0,0 +1,29 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v?[0-9]+.[0-9]+.[0-9]+**"
7
+ workflow_dispatch:
8
+
9
+ # Use "trusted publishing", see https://docs.pypi.org/trusted-publishers/
10
+ jobs:
11
+ release:
12
+ name: Upload release to PyPI
13
+ runs-on: ubuntu-latest
14
+ environment:
15
+ name: pypi
16
+ url: https://pypi.org/p/mudata
17
+ permissions:
18
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
19
+ steps:
20
+ - uses: actions/checkout@v6
21
+ with:
22
+ filter: blob:none
23
+ fetch-depth: 0
24
+ - name: Install uv
25
+ uses: astral-sh/setup-uv@v7
26
+ - name: Build package
27
+ run: uv build
28
+ - name: Publish package distributions to PyPI
29
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,107 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - "v[0-9]+.[0-9]+.x"
8
+ pull_request:
9
+ branches:
10
+ - main
11
+ - "v[0-9]+.[0-9]+.x"
12
+ schedule:
13
+ - cron: "0 5 1,15 * *"
14
+
15
+ concurrency:
16
+ group: ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+ # Get the test environment from hatch as defined in pyproject.toml.
21
+ # This ensures that the pyproject.toml is the single point of truth for test definitions and the same tests are
22
+ # run locally and on continuous integration.
23
+ # Check [[tool.hatch.envs.hatch-test.matrix]] in pyproject.toml and https://hatch.pypa.io/latest/environment/ for
24
+ # more details.
25
+ get-environments:
26
+ runs-on: ubuntu-latest
27
+ outputs:
28
+ envs: ${{ steps.get-envs.outputs.envs }}
29
+ steps:
30
+ - uses: actions/checkout@v6
31
+ with:
32
+ filter: blob:none
33
+ fetch-depth: 0
34
+ - name: Install uv
35
+ uses: astral-sh/setup-uv@v7
36
+ - name: Get test environments
37
+ id: get-envs
38
+ run: |
39
+ ENVS_JSON=$(uvx hatch env show --json | jq -c 'to_entries
40
+ | map(
41
+ select(.key | startswith("hatch-test"))
42
+ | {
43
+ name: .key,
44
+ label: (if (.key | contains("pre")) then .key + " (PRE-RELEASE DEPENDENCIES)" else .key end),
45
+ python: .value.python
46
+ }
47
+ )')
48
+ echo "envs=${ENVS_JSON}" | tee $GITHUB_OUTPUT
49
+
50
+ # Run tests through hatch. Spawns a separate runner for each environment defined in the hatch matrix obtained above.
51
+ test:
52
+ needs: get-environments
53
+ permissions:
54
+ id-token: write # for codecov OIDC
55
+
56
+ strategy:
57
+ fail-fast: false
58
+ matrix:
59
+ os: [ubuntu-latest]
60
+ env: ${{ fromJSON(needs.get-environments.outputs.envs) }}
61
+
62
+ name: ${{ matrix.env.label }}
63
+ runs-on: ${{ matrix.os }}
64
+ continue-on-error: ${{ contains(matrix.env.name, 'pre') }} # make "all-green" pass even if pre-release job fails
65
+
66
+ steps:
67
+ - uses: actions/checkout@v6
68
+ with:
69
+ filter: blob:none
70
+ fetch-depth: 0
71
+ - name: Install uv
72
+ uses: astral-sh/setup-uv@v7
73
+ with:
74
+ python-version: ${{ matrix.env.python }}
75
+ - name: create hatch environment
76
+ run: uvx hatch env create ${{ matrix.env.name }}
77
+ - name: run tests using hatch
78
+ env:
79
+ MPLBACKEND: agg
80
+ PLATFORM: ${{ matrix.os }}
81
+ DISPLAY: :42
82
+ run: uvx hatch run ${{ matrix.env.name }}:run-cov -v --color=yes -n auto
83
+ - name: generate coverage report
84
+ run: |
85
+ # See https://coverage.readthedocs.io/en/latest/config.html#run-patch
86
+ test -f .coverage || uvx hatch run ${{ matrix.env.name }}:cov-combine
87
+ uvx hatch run ${{ matrix.env.name }}:cov-report # report visibly
88
+ uvx hatch run ${{ matrix.env.name }}:coverage xml # create report for upload
89
+ - name: Upload coverage
90
+ uses: codecov/codecov-action@v5
91
+ with:
92
+ fail_ci_if_error: true
93
+ use_oidc: true
94
+
95
+ # Check that all tests defined above pass. This makes it easy to set a single "required" test in branch
96
+ # protection instead of having to update it frequently. See https://github.com/re-actors/alls-green#why.
97
+ check:
98
+ name: Tests pass in all hatch environments
99
+ if: always()
100
+ needs:
101
+ - get-environments
102
+ - test
103
+ runs-on: ubuntu-latest
104
+ steps:
105
+ - uses: re-actors/alls-green@release/v1
106
+ with:
107
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,27 @@
1
+ # Temp files
2
+ .DS_Store
3
+ *~
4
+ buck-out/
5
+ .ipynb_checkpoints
6
+
7
+ # IDEs
8
+ /.idea/
9
+ /.vscode/
10
+
11
+ # Compiled files
12
+ .venv/
13
+ __pycache__/
14
+ .*cache/
15
+ /src/mudata/_version.py
16
+
17
+ # Distribution / packaging
18
+ /dist/
19
+
20
+ # Tests and coverage
21
+ /data/
22
+ /node_modules/
23
+ /.coverage*
24
+
25
+ # docs
26
+ /docs/generated/
27
+ /docs/_build/
@@ -0,0 +1,38 @@
1
+ fail_fast: false
2
+ default_language_version:
3
+ python: python3
4
+ default_stages:
5
+ - pre-commit
6
+ - pre-push
7
+ minimum_pre_commit_version: 2.16.0
8
+ repos:
9
+ - repo: https://github.com/biomejs/pre-commit
10
+ rev: v2.3.10
11
+ hooks:
12
+ - id: biome-format
13
+ exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually.
14
+ - repo: https://github.com/tox-dev/pyproject-fmt
15
+ rev: v2.11.1
16
+ hooks:
17
+ - id: pyproject-fmt
18
+ - repo: https://github.com/astral-sh/ruff-pre-commit
19
+ rev: v0.14.14
20
+ hooks:
21
+ - id: ruff-check
22
+ types_or: [python, pyi, jupyter]
23
+ args: [--fix, --exit-non-zero-on-fix]
24
+ - id: ruff-format
25
+ types_or: [python, pyi, jupyter]
26
+ - repo: https://github.com/pre-commit/pre-commit-hooks
27
+ rev: v6.0.0
28
+ hooks:
29
+ - id: detect-private-key
30
+ - id: check-ast
31
+ - id: end-of-file-fixer
32
+ - id: mixed-line-ending
33
+ args: [--fix=lf]
34
+ - id: trailing-whitespace
35
+ - id: check-case-conflict
36
+ # Check that there are no merge conflicts (could be generated by template sync)
37
+ - id: check-merge-conflict
38
+ args: [--assume-in-merge]
@@ -0,0 +1,16 @@
1
+ # https://docs.readthedocs.io/en/stable/config-file/v2.html
2
+ version: 2
3
+ build:
4
+ os: ubuntu-24.04
5
+ tools:
6
+ python: "3.14"
7
+ nodejs: latest
8
+ jobs:
9
+ create_environment:
10
+ - asdf plugin add uv
11
+ - asdf install uv latest
12
+ - asdf global uv latest
13
+ build:
14
+ html:
15
+ - uvx hatch run docs:build
16
+ - mv docs/_build $READTHEDOCS_OUTPUT
@@ -0,0 +1,143 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog][],
6
+ and this project adheres to [Semantic Versioning][].
7
+
8
+ [keep a changelog]: https://keepachangelog.com/en/1.1.0/
9
+ [semantic versioning]: https://semver.org/spec/v2.0.0.html
10
+
11
+ ## [0.3.3]
12
+
13
+ ### Fixed
14
+
15
+ - Fixed an [issue](https://github.com/scverse/mudata/issues/103) in `update()` with duplicate obs_names and dataframes in obsm.
16
+ - Fixed an [issue](https://github.com/scverse/mudata/issues/109) with column ordering in `push_obs()`.
17
+ - Fixed an [issue](https://github.com/scverse/mudata/issues/107) in `update()` when there are more than 255 duplicates of an obs_name or var_name.
18
+ - Fixed an [issue](https://github.com/scverse/mudata/issues/112) where setting global `obs_names` or `var_names` would reorder modality-specific names
19
+ - Pandas 3 compatibility.
20
+
21
+ ## [0.3.2]
22
+
23
+ ### Fixed
24
+
25
+ - Fixed an [issue](https://github.com/scverse/mudata/issues/99) in `update()`
26
+
27
+ ## [0.3.1]
28
+
29
+ ### Fixed
30
+
31
+ - compatibility with anndata 0.10.9
32
+
33
+ ## [0.3.0]
34
+
35
+ ### Added
36
+
37
+ - Pull/push interface for annotations: `pull_obs()`, `pull_var()`, `push_obs()`, `push_var()`
38
+ - Conversion functions: `to_anndata()`, `to_mudata()`
39
+ - Concatenation of MuData objects
40
+ - `MuData.mod_names` attribute
41
+ - Pretty-printing for `MuData.mod`
42
+ - `fsspec` support for readers.
43
+
44
+ ### Fixed
45
+
46
+ - Improved performance and behavior of `update()`.
47
+ For compatibility reasons, this release keeps the old behaviour of pulling annotations on read/update as default.
48
+ - `read_zarr()` now supports `mod-order`
49
+ - Correct handling of the `uns` attribute by views.
50
+
51
+ ### Note
52
+
53
+ If you want to adopt the new update behaviour, set `mudata.set_options(pull_on_update=False)`.
54
+ This will be the default behaviour in the next release.
55
+ With it, the annotations will not be copied from the modalities on `update()` implicitly.
56
+
57
+ To copy the annotations explicitly, you will need to use `pull_obs()` and/or `pull_var()`.
58
+
59
+ ## [0.2.4]
60
+
61
+ ### Changed
62
+
63
+ - Requires anndata 0.10.8 or newer.
64
+
65
+ ### Fixed
66
+
67
+ - Compatibility with numpy 2.0
68
+ - Compatibility with anndata 0.11
69
+
70
+ ## [0.2.3]
71
+
72
+ ### Fixed
73
+
74
+ - Fixes and improvements for backed objects, views, nested MuData objects, I/O and HTML representation.
75
+ - Pandas 2.0 compatibility
76
+
77
+ ## [0.2.2]
78
+
79
+ ### Fixed
80
+
81
+ - `Path` objects now work in `mudata.read()`
82
+
83
+ ## [0.2.1]
84
+
85
+ ### Added
86
+
87
+ - `MuData.__len__`.
88
+ This should make it easier to build MuData into workflows that operate on data containers with length.
89
+ In practice using `n_obs` should be preferred.
90
+
91
+ ### Changed
92
+
93
+ - Default `dict` has replaced `OrderedDict`, e.g. in the `uns` slot, to improve compatibility with new serialisation versions.
94
+ As of Python 3.6, dictionaries are insertion-ordered.
95
+
96
+ ### Fixed
97
+
98
+ - Improvements and optimizations to `update()`
99
+
100
+ ## [0.2.0]
101
+
102
+ ### Added
103
+
104
+ - [new axes interface](https://github.com/scverse/mudata/blob/master/docs/source/notebooks/axes.ipynb) that allows to use MuData objects as containers with different shared dimensions.
105
+
106
+ ### Changed
107
+
108
+ - new I/O serialisation of [AnnData v0.8](https://anndata.readthedocs.io/en/latest/release-notes/index.html#th-march-2022).
109
+
110
+ ### Fixed
111
+
112
+ - Updating a MuData object with `MuData.update()` is even faster in many use cases.
113
+
114
+ ## [0.1.2]
115
+
116
+ ### Changed
117
+
118
+ - Improved documentation, including a new page describing the sharp bits.
119
+
120
+ ### Fixed
121
+
122
+ - Updating a MuData object with `update()` is now much faster.
123
+
124
+ ## [0.1.1]
125
+
126
+ - Various stability and bug fixes
127
+
128
+ ## [0.1.0]
129
+
130
+ Initial `mudata` release with `MuData`, previously a part of the `muon` framework.
131
+
132
+ [0.3.3]: https://github.com/scverse/mudata/compare/v0.3.1...v0.3.3
133
+ [0.3.2]: https://github.com/scverse/mudata/compare/v0.3.1...v0.3.2
134
+ [0.3.1]: https://github.com/scverse/mudata/compare/v0.3.0...v0.3.1
135
+ [0.3.0]: https://github.com/scverse/mudata/compare/v0.2.4...v0.3.0
136
+ [0.2.4]: https://github.com/scverse/mudata/compare/v0.2.3...v0.2.4
137
+ [0.2.3]: https://github.com/scverse/mudata/compare/v0.2.2...v0.2.3
138
+ [0.2.2]: https://github.com/scverse/mudata/compare/v0.2.1...v0.2.2
139
+ [0.2.1]: https://github.com/scverse/mudata/compare/v0.2.0...v0.2.1
140
+ [0.2.0]: https://github.com/scverse/mudata/compare/v0.1.2...v0.2.0
141
+ [0.1.2]: https://github.com/scverse/mudata/compare/v0.1.1...v0.1.2
142
+ [0.1.1]: https://github.com/scverse/mudata/compare/v0.1.0...v0.1.1
143
+ [0.1.0]: https://github.com/scverse/mudata/releases/tag/v0.1.0