Backport PR #2351: fix: check .raw length on setting#2354
Merged
Codecov / codecov/project
succeeded
Feb 24, 2026 in 1s
84.75% (target 80.00%)
View this Pull Request on Codecov
84.75% (target 80.00%)
Details
Codecov Report
❌ Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.75%. Comparing base (7f67bee) to head (25b7a85).
✅ All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/anndata/_core/anndata.py | 88.88% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## 0.12.x #2354 +/- ##
==========================================
- Coverage 86.90% 84.75% -2.15%
==========================================
Files 46 46
Lines 7260 7269 +9
==========================================
- Hits 6309 6161 -148
- Misses 951 1108 +157 | Files with missing lines | Coverage Δ | |
|---|---|---|
| src/anndata/_core/raw.py | 76.87% <100.00%> (-2.99%) |
⬇️ |
| src/anndata/_core/anndata.py | 83.82% <88.88%> (+0.01%) |
⬆️ |
Loading