Skip to content

deprecate MuData methods whose AnnData analogs will be deprecated in 0.13#131

Merged
ilia-kats merged 6 commits intoscverse:mainfrom
ilia-kats:deprecations
Apr 10, 2026
Merged

deprecate MuData methods whose AnnData analogs will be deprecated in 0.13#131
ilia-kats merged 6 commits intoscverse:mainfrom
ilia-kats:deprecations

Conversation

@ilia-kats
Copy link
Copy Markdown
Collaborator

No description provided.

@ilia-kats ilia-kats requested review from gtca and ilan-gold March 27, 2026 16:06
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.02%. Comparing base (5ccf921) to head (0c6daac).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
+ Coverage   90.98%   91.02%   +0.03%     
==========================================
  Files          11       11              
  Lines        1797     1805       +8     
==========================================
+ Hits         1635     1643       +8     
  Misses        162      162              
Files with missing lines Coverage Δ
src/mudata/_core/mudata.py 93.18% <100.00%> (+0.06%) ⬆️
src/mudata/_core/utils.py 95.18% <100.00%> (-0.06%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@ilan-gold ilan-gold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very wonderful! I think this helper is awesome!

Co-authored-by: Ilan Gold <ilanbassgold@gmail.com>
ilia-kats added a commit to scverse/scverse-misc that referenced this pull request Apr 9, 2026
ilia-kats added a commit to scverse/scverse-misc that referenced this pull request Apr 9, 2026
ilia-kats added a commit to scverse/scverse-misc that referenced this pull request Apr 9, 2026
ilia-kats added a commit to scverse/scverse-misc that referenced this pull request Apr 10, 2026
* add a deprecation decorator

see discussion in scverse/mudata#131

* typecheck-compatible version

* apply suggestions from code review

- run tests on Python 3.10
- simplify warning message generation
- LiteralString type hints

* fix for Python 3.10

* switch to inspect.getdoc instead of processing docstrings manually
@ilia-kats ilia-kats merged commit 3c2b6dd into scverse:main Apr 10, 2026
9 checks passed
@ilia-kats ilia-kats deleted the deprecations branch April 10, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants