Skip to content

Commit

Permalink
Removed duplicate if statements for DEV/PREV list creation
Browse files Browse the repository at this point in the history
- dev_versions_to_include_list
  • Loading branch information
RyanSpies-NOAA committed Nov 28, 2022
1 parent 21f882b commit 2be32c5
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions tools/synthesize_test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,16 +427,10 @@ def progress_bar_handler(executor_dict, verbose, desc):
# Send the executor to the progress bar
progress_bar_handler(executor_dict, verbose, f"Compositing test cases with {job_number_huc} workers")

if config == 'DEV':
if dev_versions_to_compare != None:
dev_versions_to_include_list = dev_versions_to_compare + previous_fim_list
else:
dev_versions_to_include_list = previous_fim_list
if config == 'PREV':
if dev_versions_to_compare != None:
dev_versions_to_include_list = dev_versions_to_compare + previous_fim_list
else:
dev_versions_to_include_list = previous_fim_list
if dev_versions_to_compare != None:
dev_versions_to_include_list = dev_versions_to_compare + previous_fim_list
else:
dev_versions_to_include_list = previous_fim_list

if master_metrics_csv is not None:
# Do aggregate_metrics.
Expand Down

0 comments on commit 2be32c5

Please sign in to comment.