Skip to content

Commit

Permalink
group() now takes the meta_array
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Aug 7, 2023
1 parent 6ed4d78 commit 88448fc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion zarr/hierarchy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,8 @@ def group(
synchronizer=None,
path=None,
*,
zarr_version=None
zarr_version=None,
meta_array=None
):
"""Create a group.
Expand All @@ -1382,6 +1383,11 @@ def group(
Array synchronizer.
path : string, optional
Group path within store.
meta_array : array-like, optional
An array instance to use for determining arrays to create and return
to users. Use `numpy.empty(())` by default.
.. versionadded:: 2.16.1
Returns
-------
Expand Down Expand Up @@ -1432,6 +1438,7 @@ def group(
synchronizer=synchronizer,
path=path,
zarr_version=zarr_version,
meta_array=meta_array,
)


Expand Down

0 comments on commit 88448fc

Please sign in to comment.