spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Rechunk dask image if not using multi-scales

Open quentinblampey opened this issue 2 years ago • 2 comments

Hello,

In the documentation here, Image2DModel.parse has a chunks argument. Contrary to what suggests the documentation, this argument is only used when creating a MultiscaleSpatialImage

I was expecting that it would be also applied on SpatialImage (via image.rechunk), so I was wondering if this is a bug or just a lack of clarity in the doc?

quentinblampey avatar Nov 24 '23 13:11 quentinblampey

Thanks for reporting, it's a bug, and a related one is the one that I have reported here: https://github.com/scverse/spatialdata/issues/421.

For the moment I suggest to rechunk manually after the call to the parser.

LucaMarconato avatar Jan 16 '24 13:01 LucaMarconato

Okay thanks for your answer!

quentinblampey avatar Jan 16 '24 14:01 quentinblampey