Script execution
This commit is contained in:
@@ -179,7 +179,7 @@ def convert_file(input_file_name, output_file_name, pol = None):
|
||||
normtey=repr( float(CADC2)/float(CADC1))
|
||||
# normdiode=repr(float(CADC3)/float(CADC2))
|
||||
field=caget(MAG)
|
||||
out.write(Ecrbk + s + CADC1 + s + CADC2 + s + CADC3 + s + normtey + s + str(pol) + s + field + line_sep)
|
||||
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)))
|
||||
|
||||
Reference in New Issue
Block a user