Skip to content

Commit c963072

Browse files
committed
Allow overriding scale_factor in visium hd
1 parent 433014e commit c963072

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/spatialdata_io/readers/visium_hd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def visium_hd(
161161
filename_prefix, dataset_id = _get_filename_prefix(path, dataset_id)
162162

163163
def load_image(path: Path, suffix: str, scale_factors: list[int] | None = None) -> None:
164+
scale_factors = image_models_kwargs.pop("scale_factors", scale_factors)
164165
_load_image(
165166
path=path,
166167
images=images,

0 commit comments

Comments
 (0)