Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit f074d63

Browse files
authored
Merge pull request #299 from punch-mission/no-outliers-for-darks
Don't set outlier limits for dark images
2 parents c7b5ef6 + 60a6360 commit f074d63

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

changelog/299.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Darks are no longer checked for outlier images.

punchpipe/flows/level0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ def form_single_image(spacecraft, t, defs, apid_name2num, pipeline_config, space
10151015
cube.meta.history.add_now("form_single_image", f"Outlier detection with {limit_filename}")
10161016
break
10171017
if selected_limits is None:
1018-
if len(outlier_limits) and file_type != 'PX':
1018+
if len(outlier_limits) and file_type in ['CR', 'PM', 'PZ', 'PP']:
10191019
raise RuntimeError(f"Could not find outlier limits for {get_base_file_name(cube)}")
10201020
is_outlier = False
10211021
else:

0 commit comments

Comments
 (0)