Skip to content

Commit 8212d04

Browse files
committed
Delegate allow_rechunk and keepdims to Cubed
1 parent 62a70bd commit 8212d04

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

cubed_xarray/cubedmanager.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,6 @@ def apply_gufunc(
155155
allow_rechunk: bool = False,
156156
**kwargs,
157157
):
158-
if allow_rechunk:
159-
raise NotImplementedError(
160-
"cubed.apply_gufunc doesn't support allow_rechunk"
161-
)
162-
if keepdims:
163-
raise NotImplementedError("cubed.apply_gufunc doesn't support keepdims")
164-
165158
from cubed import apply_gufunc
166159

167160
return apply_gufunc(
@@ -170,9 +163,11 @@ def apply_gufunc(
170163
*args,
171164
axes=axes,
172165
axis=axis,
166+
keepdims=keepdims,
173167
output_dtypes=output_dtypes,
174168
output_sizes=output_sizes,
175169
vectorize=vectorize,
170+
allow_rechunk=allow_rechunk,
176171
**kwargs,
177172
)
178173

0 commit comments

Comments
 (0)