Skip to content

Commit

Permalink
rollback ...
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman committed Oct 23, 2024
1 parent 056398e commit 804cf12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/zarr/api/asynchronous.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ async def load(

obj = await open(store=store, path=path, zarr_format=zarr_format)
if isinstance(obj, AsyncArray):
return await obj.getitem(...)
return await obj.getitem(slice(None))
else:
raise NotImplementedError("loading groups not yet supported")

Expand Down Expand Up @@ -408,7 +408,7 @@ async def save_array(
chunks=chunks,
**kwargs,
)
await new.setitem(..., arr)
await new.setitem(slice(None), arr)


async def save_group(
Expand Down Expand Up @@ -520,7 +520,7 @@ async def array(
z = await create(**kwargs)

# fill with data
await z.setitem(..., data)
await z.setitem(slice(None), data)

return z

Expand Down

0 comments on commit 804cf12

Please sign in to comment.