Skip to content

Commit d9ea66f

Browse files
committed
minor tweaks
1 parent d0b0f52 commit d9ea66f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

jwst/resample/tests/test_resample_step.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -831,12 +831,13 @@ def test_resample_undefined_variance(nircam_rate, shape):
831831

832832
@pytest.mark.parametrize('ratio', [0.7, 1.2])
833833
@pytest.mark.parametrize('rotation', [0, 15, 135])
834-
@pytest.mark.parametrize('crpix', [(600, 550), (601, 551)])
835-
@pytest.mark.parametrize('crval', [(22.04, 11.98), (22.041, 11.981)])
836-
@pytest.mark.parametrize('shape', [(1205, 1100)])
834+
@pytest.mark.parametrize('crpix', [(256, 488), (700, 124)])
835+
@pytest.mark.parametrize('crval', [(22.04019, 11.98262), (22.0404, 11.983)])
836+
@pytest.mark.parametrize('shape', [(1020, 1010)])
837837
def test_custom_wcs_resample_imaging(nircam_rate, ratio, rotation, crpix, crval, shape):
838838
im = AssignWcsStep.call(nircam_rate, sip_approx=False)
839839
im.data += 5
840+
840841
result = ResampleStep.call(
841842
im,
842843
output_shape=shape,
@@ -957,7 +958,7 @@ def test_custom_refwcs_pixel_shape_imaging(nircam_rate, tmp_path):
957958
im.data[:, :] = rng.random(im.data.shape)
958959

959960
crpix = (600, 550)
960-
crval = (22.04, 11.98)
961+
crval = (22.04019, 11.98262)
961962
rotation = 15
962963
ratio = 0.7
963964

0 commit comments

Comments
 (0)