Script execution

This commit is contained in:
gac-x11ma
2017-11-30 13:53:51 +01:00
parent 88917c1c19
commit 1efd4e287e

View File

@@ -80,7 +80,7 @@ for E in setpoints:
if(H>0):
scan1.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm])
if(H<0):
elif(H<0):
scan2.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm])
else:
raise Exception('Wrong B field value:' + str(H))