Move make_stitched_labels from experimental.im to experimental.tl - #1254
Merged
Conversation
Co-locate all four steps of the tiling-QC / stitching workflow (calculate_tiling_qc, assign_stitch_groups, make_stitched_labels, and the pl.tiling_qc viz) so the pipeline is discoverable in one place. Previously make_stitched_labels lived in `im` (it emits a labels raster), splitting the workflow across `tl` and `im`. Pure move: the module uses absolute imports, so no internal import changes are needed. Updates both __init__ exports, docs/api.md, and the test references. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1254 +/- ##
=======================================
Coverage 77.08% 77.08%
=======================================
Files 63 63
Lines 9436 9436
Branches 1585 1585
=======================================
Hits 7274 7274
Misses 1561 1561
Partials 601 601
🚀 New features to boost your workflow:
|
selmanozleyen
added a commit
to selmanozleyen/squidpy
that referenced
this pull request
Aug 11, 2026
Conflict in src/squidpy/experimental/tl/__init__.py: kept the branch's align/AlignResult exports and folded in upstream's make_stitched_labels, which moved from experimental.im to experimental.tl in scverse#1254.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Moves
make_stitched_labelsfromsquidpy.experimental.imtosquidpy.experimental.tl.Why
The tiling-QC / cut-cell stitching workflow is four steps:
tl.calculate_tiling_qc— score cells for tile-boundary artifactstl.assign_stitch_groups— pair the cut pieces across seamsmake_stitched_labels— materialise the merged labelspl.tiling_qc— visualiseSteps 1–2 already live in
tl, but step 3 sat inim. That split the pipeline across two modules and hurt discoverability. This PR co-locates the whole workflow intlso users find all of it in one namespace.