From 1ddf8bf0fba4216ae95bcec91062376e1295b0d0 Mon Sep 17 00:00:00 2001 From: dave <dave@dtu.dk> Date: Thu, 12 May 2016 16:07:30 +0200 Subject: [PATCH] prepost.Simulations: use log file suffix in post_launch --- wetb/prepost/Simulations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py index 7743c11c..5cf2cf1f 100755 --- a/wetb/prepost/Simulations.py +++ b/wetb/prepost/Simulations.py @@ -1047,7 +1047,7 @@ def launch(cases, runmethod='local', verbose=False, copyback_turb=True, 'linux-script, windows-script, local-ram, none' raise ValueError(msg) -def post_launch(cases, save_iter=False, silent=False): +def post_launch(cases, save_iter=False, silent=False, suffix=None): """ Do some basics checks: do all launched cases have a result and LOG file and are there any errors in the LOG files? @@ -1154,7 +1154,7 @@ def post_launch(cases, save_iter=False, silent=False): errorlogs.ResultFile = sim_id + '_ErrorLog.csv' # save the log file analysis in the run_dir instead of the log_dir errorlogs.PathToLogs = run_dir# + log_dir - errorlogs.save() + errorlogs.save(suffix=suffix) # save the error LOG list, this is redundant, since it already exists in # the general LOG file (but only as a print, not the python variable) -- GitLab