Skip to content

Commit 720e85a

Browse files
committed
Merge branch 'main' of https://github.com/sunpy/ndcube into nddataArithmetic
2 parents 1afaffe + 24bbb5a commit 720e85a

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sunpy/package-template",
3-
"commit": "75bb72f38a9b527937b6a135457418c00b8614a9",
3+
"commit": "57a6cb05ebbddf3f2aae7b97c86705f746303f4e",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -32,7 +32,7 @@
3232
".github/workflows/sub_package_update.yml"
3333
],
3434
"_template": "https://github.com/sunpy/package-template",
35-
"_commit": "75bb72f38a9b527937b6a135457418c00b8614a9"
35+
"_commit": "57a6cb05ebbddf3f2aae7b97c86705f746303f4e"
3636
}
3737
},
3838
"directory": null

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# This should be before any formatting hooks like isort
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: "v0.11.4"
4+
rev: "v0.11.7"
55
hooks:
66
- id: ruff
77
args: ["--fix"]

ndcube/extra_coords/table_coord.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from astropy.modeling.models import tabular_model
1616
from astropy.modeling.tabular import _Tabular
1717
from astropy.time import Time
18-
from astropy.utils import isiterable
1918
from astropy.wcs.wcsapi.wrappers.sliced_wcs import combine_slices, sanitize_slices
2019

2120
try:
@@ -915,7 +914,7 @@ def _from_high_level_coordinates(dropped_frame, *highlevel_coords):
915914
from_high_level_coordinates method in gwcs.
916915
"""
917916
quantities = dropped_frame.coordinate_to_quantity(*highlevel_coords)
918-
if isiterable(quantities):
917+
if np.iterable(quantities):
919918
quantities = tuple(q.value for q in quantities)
920919
return quantities
921920

0 commit comments

Comments
 (0)