Skip to content

Commit

Permalink
Remove deprecated code (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite authored Oct 1, 2024
1 parent f347d74 commit 03f3e0e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 52 deletions.
9 changes: 0 additions & 9 deletions cubed/core/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from numbers import Integral, Number
from operator import add
from typing import TYPE_CHECKING, Any, Sequence, Tuple, Union
from warnings import warn

import ndindex
import numpy as np
Expand Down Expand Up @@ -1060,7 +1059,6 @@ def reduction(
x: "Array",
func,
combine_func=None,
aggegrate_func=None, # typo, will removed in next release
aggregate_func=None,
axis=None,
intermediate_dtype=None,
Expand All @@ -1071,13 +1069,6 @@ def reduction(
extra_func_kwargs=None,
) -> "Array":
"""Apply a function to reduce an array along one or more axes."""
if aggegrate_func is not None and aggregate_func is None:
warn(
"`aggegrate_func` is deprecated, please use `aggregate_func` instead",
DeprecationWarning,
stacklevel=2,
)
aggregate_func = aggegrate_func
if use_new_impl:
return reduction_new(
x,
Expand Down
Empty file removed cubed/extensions/__init__.py
Empty file.
8 changes: 0 additions & 8 deletions cubed/extensions/history.py

This file was deleted.

8 changes: 0 additions & 8 deletions cubed/extensions/mem_warn.py

This file was deleted.

8 changes: 0 additions & 8 deletions cubed/extensions/rich.py

This file was deleted.

8 changes: 0 additions & 8 deletions cubed/extensions/timeline.py

This file was deleted.

11 changes: 0 additions & 11 deletions cubed/extensions/tqdm.py

This file was deleted.

0 comments on commit 03f3e0e

Please sign in to comment.