Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning][].
[keep a changelog]: https://keepachangelog.com/en/1.1.0/
[semantic versioning]: https://semver.org/spec/v2.0.0.html

## [0.3.4] (unreleased)

### Added

- `mudata.register_mudata_namespace()` functionality for adding custom functionality to `MuData` objects.

## [0.3.3]

### Fixed
Expand Down Expand Up @@ -129,7 +135,8 @@ To copy the annotations explicitly, you will need to use `pull_obs()` and/or `pu

Initial `mudata` release with `MuData`, previously a part of the `muon` framework.

[0.3.3]: https://github.com/scverse/mudata/compare/v0.3.1...v0.3.3
[0.3.4]: https://github.com/scverse/mudata/compare/v0.3.3...v0.3.4
[0.3.3]: https://github.com/scverse/mudata/compare/v0.3.2...v0.3.3
[0.3.2]: https://github.com/scverse/mudata/compare/v0.3.1...v0.3.2
[0.3.1]: https://github.com/scverse/mudata/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/scverse/mudata/compare/v0.2.4...v0.3.0
Expand Down
9 changes: 9 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@
:functions-only:
:toctree: generated
```

## Extensions
```{eval-rst}
.. module::mudata
.. autosummary::
:toctree: generated

register_mudata_namespace
```
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies = [
"numpy",
"pandas>=1.4",
"scipy",
"scverse-misc",
# for debug logging (referenced from the issue template)
"session-info2",
]
Expand Down
4 changes: 4 additions & 0 deletions src/mudata/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""Multimodal datasets"""

from anndata import AnnData
from scverse_misc import ExtensionNamespace
from scverse_misc import make_register_namespace_decorator as _make_register_namespace_decorator

from ._core import utils
from ._core.config import set_options
Expand All @@ -25,6 +27,8 @@
__anndataversion__ = "0.1.0"
__mudataversion__ = "0.1.0"

register_mudata_namespace = _make_register_namespace_decorator(MuData, "mdata", "register_mudata_namespace", "numpy")

__all__ = [
"__version__",
"MuData",
Expand Down
Loading
Loading