Skip to content

Commit

Permalink
Fix loop order
Browse files Browse the repository at this point in the history
  • Loading branch information
tukiains committed Oct 18, 2023
1 parent 68be45f commit 19bcc5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data_processing/subcmds/process_cloudnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ def _get_level1b_metadata_for_categorize(self) -> dict:
if len(metadata) == 1:
continue
found = False
for row in metadata:
for preferred_instrument in instrument_order[product]:
for preferred_instrument in instrument_order[product]:
for row in metadata:
if row["instrument"]["id"] == preferred_instrument and not found:
meta_records[product] = row
found = True
Expand Down

0 comments on commit 19bcc5d

Please sign in to comment.