Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
keflavich committed Dec 10, 2021
1 parent 9b62e9b commit c19679f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectral_cube/cube_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _orient(array, wcs):
if any('stokes' in tp for tp in lowlev.world_axis_object_components):
raise ValueError("Input WCS should not contain stokes")

if target_order_numpy == [0, 1, 2]:
if target_order == [0, 1, 2]:
result_array = array
else:
result_array = array.transpose(target_order_numpy)
Expand Down

0 comments on commit c19679f

Please sign in to comment.