scverse/spatialdata-io

Xenium IO AssertionError

Closed this issue · 1 comments

When converting the Xenium dataset xenium_rep1_io from spatialdata_sandbox is converted using the to_zarr script, an AssertionError is raised due to line 189 in xenium.py. This is due to cell_id not having string values. The fix is to instead use
metadata.cell_id.

Merged, thanks for the fix.