Script execution

This commit is contained in:
gac-x11ma
2018-09-04 20:19:45 +02:00
parent 93c8ae2ab3
commit 47f3ff3f0e
+1 -1
View File
@@ -66,7 +66,7 @@ def convert_file(input_file_name, output_file_name):
with open(input_file_name) as inp:
lines = inp.readlines()
with open(output_file_name, "wb") as out:
out.write("Energy" + sep + "Io" + sep + "CADC2" + sep + "CADC3" + "Mag" + line_sep)
out.write("Energy" + sep + "Io" + sep + "CADC2" + sep + "CADC3" + sep + "Mag" + line_sep)
s = sep + " " #File format has a space before numeric values
for line in lines[1:]:
line = line.strip()