Skip to content

Commit

Permalink
Revert "fix jump detection tests (spacetelescope#6310)"
Browse files Browse the repository at this point in the history
This reverts commit b6155a6.
  • Loading branch information
cshanahan1 committed Oct 14, 2021
1 parent 7f0769b commit 9eb6263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ jump

- Updated jump detection step to use common code moved to stcal [#6089]

- Fixed jump detection tests. [#6310]

lib
---

Expand Down
4 changes: 2 additions & 2 deletions jwst/jump/tests/test_detect_jumps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, 0, 2, 2, 2, 2, 2]) # cannot find jump with just one grp
assert_array_equal(out_model.groupdq[0, :, 2, 2], [0, 4, 2, 2, 2, 2, 2])
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, 0, 2, 2, 2, 2, 2]) # cannot find jump with just one grp
assert_array_equal(out_model.groupdq[0, :, 4, 4], [0, 4, 2, 2, 2, 2, 2])


@pytest.mark.skip(reason='multiprocessing temporarily disabled')
Expand Down

0 comments on commit 9eb6263

Please sign in to comment.