Skip to content

Commit

Permalink
fix nirspec_fs_spec3 file names
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Oct 21, 2024
1 parent e0d4a8d commit 90ba645
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion jwst/outlier_detection/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ def median_without_resampling(input_models,
median_model.err = median_err
_fileio.save_median(median_model, make_output_path)


if return_error:
return median_data, median_wcs, median_err
else:
Expand Down
2 changes: 1 addition & 1 deletion jwst/regtest/test_nirspec_fs_spec3.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_nirspec_fs_spec3(run_pipeline, rtdata_module, fitsdiff_default_kwargs,
rtdata = rtdata_module

if suffix == "median":
output = f"jw01309022001_04102_00002_nrs2_{slit_name}_{suffix}.fits"
output = f"jw01309022001_04102_00001_nrs2_{slit_name}_{suffix}.fits"
# also ensure drizzled and blot models were created with the correct names
assert os.path.isfile(output.replace("median", "outlier_s2d"))
assert os.path.isfile(output.replace("median", "blot"))
Expand Down

0 comments on commit 90ba645

Please sign in to comment.