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 311efaf commit 73911b7Copy full SHA for 73911b7
src/zarr/api/asynchronous.py
@@ -702,7 +702,9 @@ async def open_group(
702
return await AsyncGroup.open(
703
store_path, zarr_format=zarr_format, use_consolidated=use_consolidated
704
)
705
- except (KeyError, FileNotFoundError):
+ except (KeyError, FileNotFoundError) as e:
706
+ if mode in ("r", "r+"):
707
+ raise FileNotFoundError(f"Group '{path}' not found in store '{store_path}'") from e
708
return await AsyncGroup.from_store(
709
store_path,
710
zarr_format=zarr_format or _default_zarr_version(),
0 commit comments