Skip to content

Commit

Permalink
Fix miri avg_dark regtest (#8446)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbushouse authored Apr 26, 2024
1 parent f22f72d commit fc2b670
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jwst/regtest/test_miri_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_detector1_with_average_dark_current(rtdata_module):
estimate of the average dark current for inclusion in ramp_fitting
poisson variance estimation."""
rtdata = rtdata_module
rtdata.get_data("miri/image/jw01024001001_04101_00002_mirimage_uncal.fits")
rtdata.get_data("miri/image/jw01024002001_02101_00001_mirimage_uncal.fits")

# Run detector1 pipeline only on one of the _uncal files
args = ["jwst.pipeline.Detector1Pipeline", rtdata.input,
Expand Down Expand Up @@ -100,8 +100,8 @@ def test_miri_image_detector1_with_avg_dark_current(run_detector1_with_average_d
"""Regression test of detector1 pipeline performed on MIRI imaging data with a specified
average dark current."""
rtdata = rtdata_module
rtdata.input = "jw01024001001_04101_00002_mirimage_uncal.fits"
output = f"jw01024001001_04101_00002_mirimage_{suffix}.fits"
rtdata.input = "jw01024002001_02101_00001_mirimage_uncal.fits"
output = f"jw01024002001_02101_00001_mirimage_{suffix}.fits"
rtdata.output = output

rtdata.get_truth(f"truth/test_miri_image_stages/{output}")
Expand Down

0 comments on commit fc2b670

Please sign in to comment.