From 05548956c5a43a83542a88f6437a247f5a95146d Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Wed, 16 Mar 2016 13:12:05 +0000 Subject: [PATCH] Fixes and added doocumentation --- python/tsmgr | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python/tsmgr b/python/tsmgr index 4b2b13f..68332b6 100755 --- a/python/tsmgr +++ b/python/tsmgr @@ -9,7 +9,7 @@ run1.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono")) run1.setSubdir("run0") -run2=trisurf.Runner(snapshot='snapshot.vtu') +run2=trisurf.Runner(tape='tape') run2.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono")) run2.setSubdir("run1") @@ -25,7 +25,7 @@ argv=sys.argv[1:] processno=0 try: - opts, args = getopt.getopt(argv,"n:hrsc:") + opts, args = getopt.getopt(argv,"a:n:hrsc:") except getopt.GetoptError: print('tsmgr [-n process number] [-h] [-r] [-s] [-c comment text]') sys.exit(2) @@ -63,6 +63,10 @@ comment = arg if processno: Runs[processno-1].writeComment(arg) + elif opt == '-a': + comment = arg + if processno: + Runs[processno-1].writeComment("\n"+arg, 'a') else: -- Gitblit v1.9.3