Skip to content

Feature: SpatialData I/O support#37

Open
enric-bazz wants to merge 20 commits intodpeerlab:mainfrom
enric-bazz:feature/spatialdata_io
Open

Feature: SpatialData I/O support#37
enric-bazz wants to merge 20 commits intodpeerlab:mainfrom
enric-bazz:feature/spatialdata_io

Conversation

@enric-bazz
Copy link
Copy Markdown

This PR ports the changes from the v2-incremental branch into main, primarily to introduce SpatialData I/O support.

Key features

  • SpatialData support

    • Accepts SpatialData objects as input, including data read from Zarr stores

    • Produces output as a Zarr-backed SpatialData object

    • Output is controlled via the save_spatialdata flag (default: true), consistent with existing AnnData behavior

    • Supports configurable boundary construction methods:

      • convex_hull
      • delaunay
  • 3D segmentation

    • Enabled when a valid z coordinate is present and the feature is activated (default: false)
  • Quality value (QV) filtering

    • Default threshold: QV > 20

Provenance of changes

Most of the implementation is derived and adapted from prior changes to the v2-incremental branch, namely:

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.

1 participant