sys.stdout.flush()
-now = time.strftime("%Y%m%d-%H%M%S", time.localtime())
+######################################################################
+# Create a time-stamped archive with the source code
with open("this_run.sh", "w") as f:
f.write(f"{' '.join(sys.argv)}\n")
+now = time.strftime("%Y%m%d-%H%M%S", time.localtime())
+
os.system(f"tar zcvf {args.result_dir}/src-{now}.tgz *.py *.sh")
+######################################################################
+
log_string(f"argv {' '.join(sys.argv)}")
for n in vars(args):