feat(centroids): add return_area + SpatialData persist to get_centroids#1150
Open
timtreis wants to merge 12 commits into
Open
feat(centroids): add return_area + SpatialData persist to get_centroids#1150timtreis wants to merge 12 commits into
timtreis wants to merge 12 commits into
Codecov / codecov/project
succeeded
Jul 10, 2026 in 1s
92.41% (target 1.00%)
View this Pull Request on Codecov
92.41% (target 1.00%)
Details
Codecov Report
❌ Patch coverage is 93.33333% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.41%. Comparing base (eb4fb3d) to head (3f08571).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/spatialdata/_core/centroids.py | 92.85% | 10 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #1150 +/- ##
==========================================
- Coverage 92.44% 92.41% -0.03%
==========================================
Files 51 51
Lines 7820 7928 +108
==========================================
+ Hits 7229 7327 +98
- Misses 591 601 +10 | Files with missing lines | Coverage Δ | |
|---|---|---|
| src/spatialdata/_core/operations/vectorize.py | 91.87% <100.00%> (ø) |
|
| src/spatialdata/_core/spatialdata.py | 93.88% <100.00%> (+0.01%) |
⬆️ |
| src/spatialdata/dataloader/datasets.py | 90.56% <100.00%> (+0.04%) |
⬆️ |
| src/spatialdata/models/models.py | 88.09% <100.00%> (+0.04%) |
⬆️ |
| src/spatialdata/_core/centroids.py | 94.31% <92.85%> (-5.69%) |
⬇️ |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading