Skip to content

Commit

Permalink
Only delete files with outlier_suffix at the end, rather than all suf…
Browse files Browse the repository at this point in the history
…fix files.
  • Loading branch information
schlafly committed Aug 29, 2024
1 parent 8fbf6b6 commit 590179f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion romancal/outlier_detection/outlier_detection_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def process(self, input_models):
intermediate_files_suffixes = (
"*blot.asdf",
"*median.asdf",
f'*{pars.get("resample_suffix")}*.asdf',
f'*outlier_{pars.get("resample_suffix")}.asdf',
)
for current_path in intermediate_files_paths:
for suffix in intermediate_files_suffixes:
Expand Down

0 comments on commit 590179f

Please sign in to comment.