Skip to content

Commit 95efa18

Browse files
committed
Fix input argument into CupyZarrArrayWrapper
Fixes error like `TypeError: ZarrArrayWrapper.__init__() takes 2 positional arguments but 3 were given`.
1 parent c470b97 commit 95efa18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cupy_xarray/kvikio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def open_store_variable(self, name, zarr_array):
152152
array_wrapper = EagerCupyZarrArrayWrapper
153153
else:
154154
array_wrapper = CupyZarrArrayWrapper
155-
data = indexing.LazilyIndexedArray(array_wrapper(name, self))
155+
data = indexing.LazilyIndexedArray(array_wrapper(zarr_array))
156156

157157
attributes = dict(attributes)
158158
encoding = {

0 commit comments

Comments
 (0)