Skip to content

Commit

Permalink
more guards
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Jul 25, 2024
1 parent ccf6383 commit 0805599
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flox/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2722,6 +2722,10 @@ def groupby_scan(

axis_ = normalize_axis_tuple(axis, array.ndim)

if engine is not None:
raise NotImplementedError("Setting `engine` is not supported for scans yet.")
if method is not None:
raise NotImplementedError("Setting `method` is not supported for scans yet.")
if engine is None:
engine = "flox"
assert engine == "flox"
Expand Down

0 comments on commit 0805599

Please sign in to comment.