Skip to content

Commit

Permalink
skip check if all commands file should be run because #2099 changed l…
Browse files Browse the repository at this point in the history
…og message if no commands were run from an error to info
  • Loading branch information
georgemccabe committed May 26, 2023
1 parent 30ddb02 commit 703dc62
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions metplus/util/run_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,8 @@ def run_metplus(config):
if new_commands:
all_commands.extend(new_commands)

# if process list contains any wrapper that should run commands
if any(item[0] not in NO_COMMAND_WRAPPERS for item in process_list):
# write out all commands and environment variables to file
write_all_commands(all_commands, config)
# write out all commands and environment variables to file
write_all_commands(all_commands, config)

# compute total number of errors that occurred and output results
return _check_wrapper_run_errors(processes, config.logger)
Expand Down

0 comments on commit 703dc62

Please sign in to comment.