Script execution

This commit is contained in:
gac-x11ma
2017-11-30 13:59:05 +01:00
parent 8f2b1f8a56
commit ec736624df
+2 -4
View File
@@ -80,10 +80,8 @@ for E in setpoints:
if(H>0):
scan1.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm])
elif(H<0):
if(H<0):
scan2.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm])
else:
raise Exception('Wrong B field value:' + str(H))
scan1.end()
scan2.end()