From 6f35c7fc75c33d4d9ba9e47ac6940eef130f190b Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Wed, 15 May 2019 13:21:34 +0200 Subject: [PATCH] Script execution --- script/local.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/local.py b/script/local.py index 22963bd..20b7a55 100644 --- a/script/local.py +++ b/script/local.py @@ -1,8 +1,8 @@ ################################################################################################### # Deployment specific global definitions - executed after startup.py ################################################################################################### -#import ntpath -#import traceback +import ntpath +import traceback """ OTF_START = "X11MA-OTF:GO" @@ -168,7 +168,7 @@ def convert_file(input_file_name, output_file_name, pol = None): lines = inp.readlines() with open(output_file_name, "wb") as out: (db, st) = ("java.lang.Double", "java.lang.String") - out.write("#Energy" + sep + "CADC1" + sep + "CADC2" + sep + "CADC3" + sep + "NORMtey" + "Pol" + line_sep) + out.write("#Energy" + sep + "CADC1" + sep + "CADC2" + sep + "CADC3" + sep + "NORMtey" + sep +"Pol" + line_sep) out.write("#"+ db + sep + db + sep + db + sep + db + sep + db + sep + db + line_sep) s = sep for line in lines[1:]: