Skip to content

Commit

Permalink
Clearer error message in collate plots
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris committed Nov 19, 2024
1 parent 2aa0b98 commit 40efe59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/collate_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ def main(
if not ((dir_of_forecast_dirs is None) ^ (single_forecast_dir is None)):
raise ValueError(
"Must provide exactly one of "
"'--model-base-dir' (to process multiple "
"'dir_of_forecast_dirs' (to process multiple "
"groups of forecasts) or "
"'--single-forecast-dir' "
"'single_forecast_dir' "
"(to process a single set of forecasts"
)
elif dir_of_forecast_dirs is not None:
Expand Down

0 comments on commit 40efe59

Please sign in to comment.