Closedown

This commit is contained in:
gac-x11ma
2019-05-15 11:05:45 +02:00
parent 4e09c1f8ba
commit aa54814173
2 changed files with 50 additions and 3 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ def convert_file(input_file_name, output_file_name):
out.write(Ecrbk + s + CADC1 + s + CADC2 + s + CADC3 + s + str(field) +line_sep)
except:
traceback.print_exc()
"""
def convert_file(input_file_name, output_file_name, pol = None):
print "Converting data file: " + input_file_name + " to " + output_file_name
#print "File converted to: ",output_file_name
@@ -39,13 +39,13 @@ def convert_file(input_file_name, output_file_name, pol = None):
if line=="": break
try:
(Ecrbk, CADC1, CADC2, CADC3, CADC4, MCurr, cffrbk, IDErbk, time) = line.split(" ")
normtey=repr( float(CADC3)/float(CADC1))
normtey=repr( float(CADC2)/float(CADC1))
# normdiode=repr(float(CADC3)/float(CADC2))
out.write(Ecrbk + s + CADC1 + s + CADC2 + s + CADC3 + s + normtey + s + str(pol) + line_sep)
except:
traceback.print_exc()
os.rename(input_file_name, get_context().setup.expandPath("{data}/OTF/" + ntpath.basename(input_file_name)))
"""
##################### Plotting function #############################
"""
task = None