Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Sep 26, 2024
1 parent 18bb8ef commit 07fe5ec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion gwcs/coordinate_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,6 @@ def __init__(self, reference_frame, unit=None, axes_order=(0,),
except AttributeError:
pass

#@property
def _default_axis_physical_types(self):
return ("time",)

Expand Down
2 changes: 1 addition & 1 deletion gwcs/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_high_level_wrapper(wcsobj, request):

# The wrapper and the raw gwcs class can take different paths
wc1 = hlvl.pixel_to_world(*pixel_input)
wc2 = wcsobj.pixel_to_world(*pixel_input)
wc2 = wcsobj(*pixel_input, with_units=True)

assert type(wc1) is type(wc2)

Expand Down
2 changes: 1 addition & 1 deletion gwcs/tests/test_coordinate_systems.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def coordinates(*inputs, frame):

def coordinate_to_quantity(*inputs, frame):
results = high_level_objects_to_values(*inputs, low_level_wcs=frame)
results = [r<<unit for r, unit in zip(results, frame.unit)]
results = [r << unit for r, unit in zip(results, frame.unit)]
return results


Expand Down

0 comments on commit 07fe5ec

Please sign in to comment.