From ab84d1ec8a90a1e6908283db8ef745c386fb4034 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Mon, 22 Jun 2015 10:46:43 +0200 Subject: [PATCH] Script execution --- .../tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py index d2087a4..b165bea 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py +++ b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py @@ -64,9 +64,8 @@ except: print "Unable to create channel:", sys.exc_info()[0] ret = 'Unable to create channel - ' + traceback.format_exc() success = False - raise set_return(32) - sys.exit() + raise Exception("") #remove limits idLimitH.put(999999.9, timeout=None) @@ -159,5 +158,6 @@ idBtvsProc.close() scan.end() ret = 'Slide moved back and forth (' + str(count) + ' runs)' status = True +set_return(24)