spatialrefinery.segmentation.to_spatialdata.default_zarr_path#
- spatialrefinery.segmentation.to_spatialdata.default_zarr_path(wsi_path, zarr_outdir)#
Return
<zarr_outdir>/<slide stem>.zarr, the store name one slide converts to.The stem is the prefix before the slide’s extension, so
slide.ome.tifgivesslide.zarrrather thanslide.ome.tif.zarrorslide.ome.zarr. Note this differs from the segmentation stage, whose per-slide directory keeps the full filename (seesegmentation.instanseg.segment_wsi).- Return type: