Skip to content

Commit 9a99ec6

Browse files
committed
more permissive check index xenium
1 parent 4ee33da commit 9a99ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_io/readers/xenium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def _poly(arr: ArrayLike) -> Polygon:
384384
assert idx is not None
385385
assert len(idx) == len(geo_df)
386386
assert np.unique(geo_df.index).size == len(geo_df)
387-
assert index.equals(idx)
387+
assert np.array_equal(index.to_numpy(), idx.to_numpy())
388388
geo_df.index = idx
389389
else:
390390
geo_df.index = index

0 commit comments

Comments
 (0)