Skip to content

Commit

Permalink
fix zarr checking
Browse files Browse the repository at this point in the history
  • Loading branch information
measty committed Jan 16, 2025
1 parent f385ced commit b5ee428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiatoolbox/wsicore/wsireader.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def is_ngff( # noqa: PLR0911
store = zarr.SQLiteStore(str(path)) if path.is_file() and is_sqlite3(path) else path
try:
zarr_group = zarr.open(store, mode="r")
except (zarr.errors.FSPathExistNotDir, zarr.errors.PathNotFoundError):
except Exception: # skipcq: PYL-W0703 # noqa: BLE001
return False
if not isinstance(zarr_group, zarr.hierarchy.Group):
return False
Expand Down

0 comments on commit b5ee428

Please sign in to comment.