Skip to content

Commit 5656cd9

Browse files
committed
fix regex pattern
1 parent 1322fae commit 5656cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imap_processing/ultra/l1b/ultra_l1b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def ultra_l1b(data_dict: dict, ancillary_files: dict) -> list[xr.Dataset]:
4343
l1a_de_products = [
4444
name
4545
for name in data_dict.keys()
46-
if re.search(rf"{instrument_id}sensor.*-de$", name)
46+
if re.search(rf"^imap_ultra_l1a_{instrument_id}sensor.*-de$", name)
4747
]
4848
# L1b de data will be created if L1a de data is available
4949
# Including priority de products

0 commit comments

Comments
 (0)