-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug in read when omero metadata is present #60
Comments
hitting this rn, here's comments + questions:
I'd be curious to hear more thoughts from @scverse/spatialdata and @melonora on this. I think that first I'd just add support for |
I agree it is mostly important for viewing. Particular use cases for this in general in my opinion:
However, I feel like these are more important when there is a proper multicanvas view in Napari. For multicanvas view we want to support view configs. So perhaps for now, it doesn't need to have a high priority. Unless it is easy to implement then I would say yes, it would be nice to have this in memory for the reasons mentioned above. Just to be certain, are were here speaking of omero metadata according to the transitional omero metadata spec in ome-ngff? Edit |
I also just tried and the error is different, now it throw error here: spatialdata/spatialdata/_io/read.py Line 151 in 55c0e7c
because the xenium example doesn't have |
I will close this issue and open 2 new ones regarding some compatibility and omero metadata. |
A few more details on this.
which creates the transformations for multiscale inside datasets and puts We then add the v0.5 transformations inside "coordinateTransformation" with the function This mix of v0.4 and v0.5 transformations is because
|
Converting the morphology_mip of the xenium dataset (see spatialdata-sandbox) leads to the following
.zattrs
.The function
_read_multiscale()
fromspatialdata/_io/read..py
has the following values fornode.metadata
Note how the name is
['DAPI']
instead ofImage0
. Having a list instead of a string triggers a bug downstream (see traceback):We need to check more datasets (with more than one channel) to see where exactly the bug lies (could also be in
multiscale-spatial-image
). For the moment I am using a workaround to deal with this edge case.Also 'visible', 'contrast_limits' and 'colormap' are wrapped in lists, so probably this bug could manifest also when dealing with them.
The text was updated successfully, but these errors were encountered: