Skip to content

Commit 2d21dc8

Browse files
committed
fix table parameter visium reader
1 parent e793a1b commit 2d21dc8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@ node_modules/
3636
.code-workspace
3737

3838
# test datasets (e.g. Xenium ones)
39+
# symlinks
40+
data
41+
# data folder
3942
data/
4043
tests/data

src/spatialdata_io/readers/visium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def visium(
253253
rgb=None,
254254
)
255255

256-
return SpatialData(images=images, shapes=shapes, table=table)
256+
return SpatialData(images=images, shapes=shapes, tables={'table': table})
257257

258258

259259
def _read_image(image_file: Path, imread_kwargs: dict[str, Any]) -> Any:

0 commit comments

Comments
 (0)