From 4f751d7f647ff6a0cff4a51d6c8c278c6ddbc4fa Mon Sep 17 00:00:00 2001 From: David Robert Verelst <dave@dtu.dk> Date: Wed, 22 Aug 2018 14:49:12 +0200 Subject: [PATCH] dlctemplate: negative option flag means default true, store false --- wetb/prepost/dlctemplate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wetb/prepost/dlctemplate.py b/wetb/prepost/dlctemplate.py index cfc9d75..86a75dc 100644 --- a/wetb/prepost/dlctemplate.py +++ b/wetb/prepost/dlctemplate.py @@ -643,7 +643,7 @@ if __name__ == '__main__': 'and stats calculation on the node right after the ' 'simulation has finished in single pbs mode.') parser.add_argument('--no_postpro_node_zipchunks', default=True, - action='store_true', dest='postpro_node', + action='store_false', dest='postpro_node', help='Do NOT perform the log analysis ' 'and stats calculation on the node right after the ' 'simulation has finished in zipchunks mode. ' @@ -718,7 +718,7 @@ if __name__ == '__main__': postpro_node=opt.postpro_node, runmethod=RUNMETHOD, dlcs_dir=os.path.join(P_SOURCE, 'htc', 'DLCs'), compress=opt.compress, wine_64bit=opt.wine_64bit, - postpro_node_zipchunks=opt.postpro_node_zipchunks) + postpro_node_zipchunks=opt.no_postpro_node_zipchunks) # post processing: check log files, calculate statistics if opt.check_logs or opt.stats or opt.fatigue or opt.envelopeblade \ or opt.envelopeturbine or opt.AEP: -- GitLab