From 6d5da56e99ff5e65d2d66a619a7d11cec79a5af4 Mon Sep 17 00:00:00 2001 From: Clare Shanahan Date: Fri, 27 Aug 2021 09:49:02 -0400 Subject: [PATCH] fix jump detection tests --- CHANGES.rst | 2 ++ jwst/jump/tests/test_detect_jumps.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 6dac79f188..f7288aa85f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -111,6 +111,8 @@ jump - Updated jump detection step to use common code moved to stcal [#6089] +- Fixed jump detection tests. [#6310] + lib --- diff --git a/jwst/jump/tests/test_detect_jumps.py b/jwst/jump/tests/test_detect_jumps.py index f2e483fcb4..e0619cd2d4 100644 --- a/jwst/jump/tests/test_detect_jumps.py +++ b/jwst/jump/tests/test_detect_jumps.py @@ -290,9 +290,9 @@ def test_nirspec_saturated_pix(setup_inputs): # Check the results. There should not be any pixels with DQ values of 6, which # is saturated (2) plus jump (4). All the DQ's should be either just 2 or just 4. assert_array_equal(out_model.groupdq[0, :, 1, 1], [0, 4, 4, 4, 0, 2, 2]) - assert_array_equal(out_model.groupdq[0, :, 2, 2], [0, 4, 2, 2, 2, 2, 2]) + assert_array_equal(out_model.groupdq[0, :, 2, 2], [0, 0, 2, 2, 2, 2, 2]) # cannot find jump with just one grp assert_array_equal(out_model.groupdq[0, :, 3, 3], [0, 4, 4, 0, 0, 4, 2]) - assert_array_equal(out_model.groupdq[0, :, 4, 4], [0, 4, 2, 2, 2, 2, 2]) + assert_array_equal(out_model.groupdq[0, :, 4, 4], [0, 0, 2, 2, 2, 2, 2]) # cannot find jump with just one grp @pytest.mark.skip(reason='multiprocessing temporarily disabled')