Skip to content

Commit 433014e

Browse files
Merge pull request #377 from nilchia/fix_codex
fix codex reader - table
2 parents a20bbaf + 70e3c96 commit 433014e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spatialdata_io/readers/codex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ def codex(
8585
rgb=None,
8686
)
8787
}
88-
sdata = SpatialData(images=images, shapes={str(region): shapes}, table=table)
88+
sdata = SpatialData(images=images, shapes={str(region): shapes}, tables={"table": table})
8989
else:
9090
logger.warning("Cannot find .tif file. Will build spatialdata with shapes and table only.")
91-
sdata = SpatialData(shapes={str(region): shapes}, table=table)
91+
sdata = SpatialData(shapes={str(region): shapes}, tables={"table": table})
9292

9393
return _set_reader_metadata(sdata, "codex")
9494

0 commit comments

Comments
 (0)