Skip to content

Commit

Permalink
Merge pull request #807 from meeseeksmachine/auto-backport-of-pr-806-…
Browse files Browse the repository at this point in the history
…on-2.2
  • Loading branch information
nabobalis authored Jan 13, 2025
2 parents e5b65d7 + c1b865c commit b78b846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndcube/extra_coords/tests/test_lookup_table_coord.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ def test_2d_skycoord_mesh_slice(lut_2d_skycoord_mesh):
assert sub_ltc.table.shape == (10,)
assert sub_ltc._slice == [slice(4, 10, None), slice(5, 10, None)]

assert sub_ltc.wcs.world_to_pixel(4*u.deg, 5*u.deg) == [0.0, 0.0]
assert sub_ltc[1:, 1:].wcs.world_to_pixel(5*u.deg, 6*u.deg) == [0.0, 0.0]
assert list(sub_ltc.wcs.world_to_pixel_values(4*u.deg, 5*u.deg)) == [0.0, 0.0]
assert list(sub_ltc[1:, 1:].wcs.world_to_pixel_values(5*u.deg, 6*u.deg)) == [0.0, 0.0]


@pytest.mark.xfail(reason=">1D Tables not supported")
Expand Down

0 comments on commit b78b846

Please sign in to comment.