Skip to content

Commit 8eb6f12

Browse files
authored
Merge pull request #806 from Cadair/fix_gwcs
Fix one test for new gwcs
2 parents 1c9faa1 + d5251c9 commit 8eb6f12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ndcube/extra_coords/tests/test_lookup_table_coord.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ def test_2d_skycoord_mesh_slice(lut_2d_skycoord_mesh):
418418
assert sub_ltc.table.shape == (10,)
419419
assert sub_ltc._slice == [slice(4, 10, None), slice(5, 10, None)]
420420

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

424424

425425
def test_2d_skycoord_no_mesh_slice(lut_2d_skycoord_no_mesh):

0 commit comments

Comments
 (0)