Skip to content

Commit ad646e3

Browse files
don't use the image_kwargs for dask imread
1 parent 4cf0f63 commit ad646e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_io/readers/visium_hd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def _load_image(
464464
) -> None:
465465
if path.exists():
466466
if path.suffix != ".btf":
467-
data = imread(path, **imread_kwargs)
467+
data = imread(path)
468468
if len(data.shape) == 4:
469469
# this happens for the cytassist, hires and lowres images; the umi image doesn't need processing
470470
data = data.squeeze()

0 commit comments

Comments
 (0)