diff --git a/jwst/outlier_detection/utils.py b/jwst/outlier_detection/utils.py index e137dc3251..ac0d2b6192 100644 --- a/jwst/outlier_detection/utils.py +++ b/jwst/outlier_detection/utils.py @@ -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: diff --git a/jwst/regtest/test_nirspec_fs_spec3.py b/jwst/regtest/test_nirspec_fs_spec3.py index 4fd2d62cf5..997b121961 100644 --- a/jwst/regtest/test_nirspec_fs_spec3.py +++ b/jwst/regtest/test_nirspec_fs_spec3.py @@ -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"))