Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix miri avg_dark regtest #8446

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading