Skip to content

Commit

Permalink
Merge branch 'master' into missing_axes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRyanIrish authored May 9, 2019
2 parents 4091970 + 3267feb commit f46f6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndcube/utils/wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _wcs_slicer(wcs, missing_axes, item):
new_wcs = wcs.slice(item_)
for i, it in enumerate(item_checked):
if isinstance(it, int):
missing_axes[i] = True
missing_axis[i] = True
else:
raise NotImplementedError("Slicing FITS-WCS by {0} not supported.".format(type(item)))
# returning the reverse list of missing axis as in the item here was reverse of
Expand Down

0 comments on commit f46f6a4

Please sign in to comment.