Skip to content

Commit 7145260

Browse files
committed
PR Feedback
1 parent 9be2187 commit 7145260

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/zarr/api/asynchronous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ async def consolidate_metadata(
202202
store_path = await make_store_path(store, path=path)
203203

204204
group = await AsyncGroup.open(store_path, zarr_format=zarr_format, use_consolidated=False)
205-
if not group.store_path.store.supports_consolidated_metadata:
205+
if not store_path.store.supports_consolidated_metadata:
206206
return group
207207

208208
group.store_path.store._check_writable()

src/zarr/api/synchronous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def consolidate_metadata(
103103
group: Group
104104
The group, with the ``consolidated_metadata`` field set to include
105105
the metadata of each child node. If the Store doesn't prefer
106-
consolidated metadata, this is function does nothing and returns
106+
consolidated metadata, this function does nothing and returns
107107
the group without modifications. See ``Store.supports_consolidated_metadata``.
108108
109109
"""

0 commit comments

Comments
 (0)