We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c3262 commit dda3ffbCopy full SHA for dda3ffb
src/spatialdata_io/readers/xenium.py
@@ -373,6 +373,8 @@ def _poly(arr: ArrayLike) -> Polygon:
373
374
group_by = df.groupby(XeniumKeys.CELL_ID)
375
index = pd.Series(group_by.indices.keys())
376
+ # convert the index to str since we will compare it with an AnnData object, where the index is a str
377
+ index.index = index.index.astype(str)
378
index = _decode_cell_id_column(index)
379
out = Parallel(n_jobs=n_jobs)(
380
delayed(_poly)(i.to_numpy())
0 commit comments