From f29a0a841c7a4a357a0af4da836be5bfbb9d8f35 Mon Sep 17 00:00:00 2001 From: Vickie Lynch <lynchve@ornl.gov> Date: Tue, 29 Nov 2016 09:06:14 -0500 Subject: [PATCH] Refs #17946 white space removed --- Framework/PythonInterface/plugins/algorithms/SetDetScale.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Framework/PythonInterface/plugins/algorithms/SetDetScale.py b/Framework/PythonInterface/plugins/algorithms/SetDetScale.py index 74ea9b76a41..e0223cc5103 100644 --- a/Framework/PythonInterface/plugins/algorithms/SetDetScale.py +++ b/Framework/PythonInterface/plugins/algorithms/SetDetScale.py @@ -61,12 +61,12 @@ class SetDetScale(PythonAlgorithm): for line in lines: columns = line.split() # splits on whitespace characters listParse.append({"ParameterName":"detScale"+columns[0], "Value":columns[1]}) - - #Overwrite any scales given in file + + #Overwrite any scales given in file for component in components: comp, value = component.split(":") listParse.append({"ParameterName":"detScale"+comp, "Value":value}) - + for dList in listParse: api.SetInstrumentParameter(Workspace=ws,ParameterType="Number",**dList) -- GitLab