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)