Skip to content

Commit

Permalink
Merge pull request #187 from TheSkyentist/filter-combo-headers
Browse files Browse the repository at this point in the history
Skip bad header keywords when making filter combos
  • Loading branch information
gbrammer committed Dec 29, 2023
2 parents 01aca39 + 73ebc49 commit 73bb3ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grizli/pipeline/auto_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -4760,6 +4760,8 @@ def make_filter_combinations(root, weight_fnu=2, filter_combinations=FILTER_COMB
head[band] = im_i[0].header.copy()
else:
for k in im_i[0].header:
if k in ['', 'HISTORY']:
continue
head[band][k] = im_i[0].header[k]

for k in ref_h_i:
Expand Down

0 comments on commit 73bb3ee

Please sign in to comment.