Skip to content

Commit

Permalink
Change append to extend
Browse files Browse the repository at this point in the history
This way if the file is not found, it won't make a nested list with an empty list
  • Loading branch information
justin-richling committed Apr 30, 2024
1 parent 5b3455c commit 3e0a43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/analysis/amwg_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def amwg_table(adf):
#End try/except

#Keep track of case csv files for comparison table check later
csv_list.append(sorted(output_location.glob(f"amwg_table_{case_name}.csv")))
csv_list.extend(sorted(output_location.glob(f"amwg_table_{case_name}.csv")))

#End of model case loop
#----------------------
Expand Down

0 comments on commit 3e0a43d

Please sign in to comment.