We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7b0d2 commit 4671acbCopy full SHA for 4671acb
src/spatialdata_io/readers/visium_hd.py
@@ -272,6 +272,8 @@ def _get_bins(path: Path) -> list[str]:
272
fullres_image_paths = [path_fullres / image_filename for image_filename in fullres_image_filenames]
273
elif list((path_fullres := (path / f"{filename_prefix}tissue_image")).parent.glob(f"{path_fullres.name}.*")):
274
fullres_image_paths = list(path_fullres.parent.glob(f"{path_fullres.name}.*"))
275
+ else:
276
+ fullres_image_paths = []
277
if len(fullres_image_paths) > 1:
278
warnings.warn(
279
f"Multiple files found in {path_fullres}, using the first one: {fullres_image_paths[0].stem}. Please"
0 commit comments