Closed gboscagli closed 1 month ago
Hi, thanks for reporting. It looks like a bug as the image should not always be expected. Can you please try this PR? https://github.com/scverse/spatialdata-io/pull/172
Maybe tiny adjustments are needed to that PR, in such case a contribution would be welcome 😊
Greetings all, I'm trying to create a
SpatialData
object from anAnndata
object using thefrom_legacy_anndata
function. The Anndata file was created with Squidpy'sread_nanostring
(Squidpy version 1.5.0) from this Nanostring CosMx public dataset. I'm using a Windows machine. Unfortunately, I'm obtaining this error.Even if the reason of the error is clear (the lowres is actually absent in the
uns
slot) does it mean that I must have a lowres image to convert an Anndata object to a SpatialData object?