Script execution

This commit is contained in:
gac-x11ma
2019-05-15 13:21:34 +02:00
parent 96e0e91b23
commit 6f35c7fc75
+3 -3
View File
@@ -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:]: