spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

`RasterModel.parse()` should accept also `DataTree`.

Open LucaMarconato opened this issue 11 months ago • 0 comments

The 4 subclasses of RasterModel.parse() 2D/3D images/labels, accept DataArray as arguments, but do not accept DataTree. For consistency we should add this option.

Until this is added, the recommended usage is to manually construct a DataTree and call .validate() on the appropriate model.

LucaMarconato avatar Jan 26 '25 13:01 LucaMarconato