feat: support np.random.Generator #3983
Merged
Codecov / codecov/project
succeeded
Mar 20, 2026 in 0s
78.21% (target 75.00%)
View this Pull Request on Codecov
78.21% (target 75.00%)
Details
Codecov Report
❌ Patch coverage is 92.30769% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.21%. Comparing base (af57cff) to head (c745802).
✅ All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## main #3983 +/- ##
==========================================
+ Coverage 77.96% 78.21% +0.24%
==========================================
Files 118 119 +1
Lines 12517 12676 +159
==========================================
+ Hits 9759 9914 +155
- Misses 2758 2762 +4 | Files with missing lines | Coverage Δ | |
|---|---|---|
| src/scanpy/_docs.py | 100.00% <100.00%> (ø) |
|
| src/scanpy/datasets/_datasets.py | 91.26% <100.00%> (+0.36%) |
⬆️ |
| src/scanpy/experimental/_docs.py | 100.00% <ø> (ø) |
|
| src/scanpy/experimental/pp/_normalization.py | 94.18% <100.00%> (+0.13%) |
⬆️ |
| src/scanpy/experimental/pp/_recipes.py | 100.00% <100.00%> (ø) |
|
| src/scanpy/preprocessing/_deprecated/sampling.py | 100.00% <100.00%> (ø) |
|
| src/scanpy/preprocessing/_pca/_compat.py | 100.00% <100.00%> (ø) |
|
| src/scanpy/preprocessing/_recipes.py | 91.07% <100.00%> (+0.33%) |
⬆️ |
| src/scanpy/preprocessing/_scrublet/__init__.py | 97.05% <100.00%> (+0.31%) |
⬆️ |
| src/scanpy/preprocessing/_scrublet/core.py | 92.81% <100.00%> (+0.09%) |
⬆️ |
| ... and 19 more |
Loading