diff --git a/script/End-to-End.py b/script/End-to-End.py index 899fa8e..14f78c7 100644 --- a/script/End-to-End.py +++ b/script/End-to-End.py @@ -115,13 +115,11 @@ for setpoint1 in range(0, 6): setpoint2 = start print 'End H switch, changing direction to ' + str(direction) scan.append ([setpoint2], [readback2], [detector1, detector2, detector3, detector4, detector5, detector6, detector7, detector8, idDiff02, idDiff01]) - break if endL>0.0 : #invert direction and swap start with end of translation setpoint2 = end print 'End L switch, changing direction to ' + str(direction) scan.append ([setpoint2], [readback2], [detector1, detector2, detector3, detector4, detector5, detector6, detector7, detector8, idDiff02, idDiff01]) - break #set limits back idLimitH.put(145.0, timeout=None)