From c3404ae7c5bbcb11471577b4eb2cb237a968fb8c Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Wed, 2 Sep 2015 15:08:44 +0200 Subject: [PATCH] Closedown --- script/local.py | 2 +- .../tests/tests/Range Shifter Tests/Monitor All/Monitor All.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/local.py b/script/local.py index d77da67..90c4b65 100644 --- a/script/local.py +++ b/script/local.py @@ -25,7 +25,7 @@ class TestingTool: try: return params[paramName]["value"] except: - ret = 'Could not retrieve testing parameter ' + paramName + ' - Details: ' + traceback.format_exc() + self.log('Could not retrieve testing parameter ' + paramName + ' - Details: ' + traceback.format_exc()) return None #print/log information diff --git a/script/tests/tests/Range Shifter Tests/Monitor All/Monitor All.py b/script/tests/tests/Range Shifter Tests/Monitor All/Monitor All.py index 3ad7467..fc93704 100644 --- a/script/tests/tests/Range Shifter Tests/Monitor All/Monitor All.py +++ b/script/tests/tests/Range Shifter Tests/Monitor All/Monitor All.py @@ -23,7 +23,7 @@ def startTest(testName, DEVICE, params): test.log(params) # samplingTimeWindow = int(params["timeWindowS"]["value"]) # samplingTime = float(params["samplingTimeS"]["value"]) - samplingTimeWindow = int(test.getParam(timeWindowS)) ; samplingTime = float(test.getParam("samplingTimeS")) ; + samplingTimeWindow = int(test.getParam('timeWindowS')) ; samplingTime = float(test.getParam("samplingTimeS")) ; if samplingTime<0.001: samplingTime=0.001 except: