Skip to content

Commit

Permalink
Update src/spatialdata/_core/operations/map.py
Browse files Browse the repository at this point in the history
Co-authored-by: Wouter-Michiel Vierdag <[email protected]>
  • Loading branch information
ArneDefauw and melonora authored Nov 27, 2024
1 parent fa95e0d commit e7cbc83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spatialdata/_core/operations/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def map_raster(
Whether to relabel the blocks of the output data.
This option is ignored when the output data is not a labels layer (i.e., when `dims` does not contain `c`).
It is recommended to enable relabeling if `func` returns labels that are not unique across chunks.
Relabeling will be done by performing a bit shift.
Relabeling will be done by performing a bit shift. Current implementation does not harmonize
labels across blocks, see https://github.com/scverse/spatialdata/pull/664 for discussion.
kwargs
Additional keyword arguments to pass to :func:`dask.array.map_overlap` or :func:`dask.array.map_blocks`.
Ignored if `blockwise` is set to `False`.
Expand Down

0 comments on commit e7cbc83

Please sign in to comment.