Skip to content

Commit 7a5cbe7

Browse files
committed
tweak
1 parent 750a439 commit 7a5cbe7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/zarr/api/asynchronous.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ async def create_array(
977977
if dimension_names is not None:
978978
raise ValueError("Zarr v2 arrays do not support dimension names.")
979979
return await AsyncArray._create_v2(
980+
store_path=store_path,
980981
shape=shape,
981982
dtype=dtype,
982983
chunks=chunk_shape,
@@ -1006,7 +1007,7 @@ async def create_array(
10061007
codecs = sub_codecs
10071008

10081009
return await AsyncArray._create_v3(
1009-
store=store_path,
1010+
store_path=store_path,
10101011
shape=shape,
10111012
dtype=dtype,
10121013
fill_value=fill_value,

src/zarr/core/chunk_grids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _auto_partition(
154154
chunk_shape: tuple[int, ...] | Literal["auto"],
155155
) -> tuple[tuple[int, ...] | None, tuple[int, ...]]:
156156
"""
157-
Automatically determine the shard shape and chunk shape for a new array, given the shape and dtype of the array.
157+
Automatically determine the shard shape and chunk shape for an array, given the shape and dtype of the array.
158158
If `shard_shape` is `None` and the chunk_shape is "auto", the chunks will be set heuristically based
159159
on the dtype and shape of the array.
160160
If `shard_shape` is "auto", then the shard shape will be set heuristically from the dtype and shape

0 commit comments

Comments
 (0)