Skip to content

Commit

Permalink
Update test_dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Mar 19, 2024
1 parent b88ed78 commit abbe041
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dkist/io/asdf/tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import numpy as np
import pytest
from packaging.version import Version

import asdf
import astropy.table
Expand Down Expand Up @@ -190,7 +189,7 @@ def test_read_wcs_with_backwards_affine():
assert world_outputs[-1] == 1

# TODO: Requires https://github.com/spacetelescope/gwcs/pull/457
#if Version(gwcs.__version__) > Version("0.22.dev0"):
# pixel_outputs = wcs.world_to_pixel_values(*world_outputs)

# assert np.allclose(pixel_inputs, pixel_outputs, atol=1e-6)
# if Version(gwcs.__version__) > Version("0.22.dev0"):
# pixel_outputs = wcs.world_to_pixel_values(*world_outputs)
#
# assert np.allclose(pixel_inputs, pixel_outputs, atol=1e-6)

0 comments on commit abbe041

Please sign in to comment.