From a72d2e9950a465769d9c457b65135311c8387d78 Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Tue, 12 Dec 2017 17:01:35 +0100 Subject: [PATCH] Script execution --- script/PolSwitch.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/script/PolSwitch.py b/script/PolSwitch.py index e6895af..2e38dd7 100644 --- a/script/PolSwitch.py +++ b/script/PolSwitch.py @@ -80,12 +80,10 @@ for E in setpoints: elif detector4 == 'CIRC -': detector4 = 2 else: detector4 = 0 - if H > 0: - scan1.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm]) - print "appending: ", H if H < 0: + scan1.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm]) + if H > 0: scan2.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm]) - print "appending: ", H scan1.end() scan2.end()