Skip to content

Commit

Permalink
BUG: second fix for clean warnings
Browse files Browse the repository at this point in the history
Test failing due to missing key, try empty list.
  • Loading branch information
aburrell committed Mar 1, 2024
1 parent 3390871 commit 6a8cf1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pysatMadrigal/instruments/dmsp_ivm.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@
_clean_warn = {inst_id: {tag: {clean_level: [('logger', 'WARN',
'this level 1 data has no qual',
clean_level)]
if tag != 'utd' else []
for clean_level in ['clean', 'dusty', 'dirty']}
for tag in inst_ids[inst_id] if tag != 'utd'}
for tag in inst_ids[inst_id]}
for inst_id in inst_ids.keys()}

# ----------------------------------------------------------------------------
Expand Down

0 comments on commit 6a8cf1f

Please sign in to comment.