spatialdata
spatialdata copied to clipboard
Rechunk dask image if not using multi-scales
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?
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.
Okay thanks for your answer!