From 07fe5ec6b5785a197687db8006123575dc4449db Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Thu, 26 Sep 2024 12:47:45 +0100 Subject: [PATCH] Apply suggestions from code review --- gwcs/coordinate_frames.py | 1 - gwcs/tests/test_api.py | 2 +- gwcs/tests/test_coordinate_systems.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gwcs/coordinate_frames.py b/gwcs/coordinate_frames.py index 321d9948..2afb6ac2 100644 --- a/gwcs/coordinate_frames.py +++ b/gwcs/coordinate_frames.py @@ -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",) diff --git a/gwcs/tests/test_api.py b/gwcs/tests/test_api.py index 0621f0d9..4657cccb 100644 --- a/gwcs/tests/test_api.py +++ b/gwcs/tests/test_api.py @@ -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) diff --git a/gwcs/tests/test_coordinate_systems.py b/gwcs/tests/test_coordinate_systems.py index 6f556c4a..2d31603b 100644 --- a/gwcs/tests/test_coordinate_systems.py +++ b/gwcs/tests/test_coordinate_systems.py @@ -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<