Skip to content

Commit 5ea8189

Browse files
Merge pull request #341 from scverse/fix_zarr_v3_visium_reader
Fix table parameter visium reader
2 parents e793a1b + 20ca630 commit 5ea8189

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.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)