Script execution
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user