diff --git a/metplus/util/config_util.py b/metplus/util/config_util.py index 0f9bc068f1..5baea3623c 100644 --- a/metplus/util/config_util.py +++ b/metplus/util/config_util.py @@ -163,8 +163,8 @@ def write_all_commands(all_commands, config): @returns False if no commands were provided, True otherwise """ if not all_commands: - config.logger.error("No commands were run. " - "Skip writing all_commands file") + config.logger.info("No commands were run. " + "Skip writing all_commands file") return False log_timestamp = config.getstr('config', 'LOG_TIMESTAMP') diff --git a/metplus/util/run_util.py b/metplus/util/run_util.py index e201392f42..9a98f91098 100644 --- a/metplus/util/run_util.py +++ b/metplus/util/run_util.py @@ -147,9 +147,7 @@ def run_metplus(config): # 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 - if not write_all_commands(all_commands, config): - # report an error if no commands were generated - total_errors += 1 + write_all_commands(all_commands, config) # compute total number of errors that occurred and output results for process in processes: