Closedown
This commit is contained in:
@@ -220,7 +220,7 @@ def switchpol(activeID, runtype):
|
||||
else:
|
||||
raise Exception("Invalid parameter")
|
||||
|
||||
|
||||
mag_str = caget(MAG)
|
||||
pol_str = None
|
||||
polswitch = 1
|
||||
|
||||
@@ -314,7 +314,7 @@ for scan_no in range(number_of_scans):
|
||||
output_file = output_path + "os" + file_prefix + "_" + suffix + ".dat"
|
||||
|
||||
print("Converting data file: " + output_file);
|
||||
convert_file(input_file, output_file, pol_str)
|
||||
convert_file(input_file, output_file, mag_str, pol_str)
|
||||
plot_file(output_file, file_prefix+"_" + suffix) #"Scan " + str(scan_no+1))
|
||||
print "Finished scan " + str(scan_no+1) + " out of " + str(number_of_scans)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user