From 3ab5d56f8cf76c4803f42af6445787692f63c21d Mon Sep 17 00:00:00 2001 From: Jean Bilheux <bilheuxjm@ornl.gov> Date: Thu, 24 May 2012 15:23:32 -0400 Subject: [PATCH] Fixed another mistake in the parsing....tested and it now works. This refs #4303 --- .../reduction/instruments/reflectometer/wks_utility.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py b/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py index 98710730a21..da746d403cb 100644 --- a/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py +++ b/Code/Mantid/scripts/reduction/instruments/reflectometer/wks_utility.py @@ -776,10 +776,10 @@ def applySF(InputWorkspace, print '--> Found a perfect match' - a = float(getFieldValue(sfFactorTable[i][6])) - b = float(getFieldValue(sfFactorTable[i][7])) - a_error = float(getFieldValue(sfFactorTable[i][8])) - b_error = float(getFieldValue(sfFactorTable[i][9])) + a = float(getFieldValue(sfFactorTable,i,6)) + b = float(getFieldValue(sfFactorTable,i,7)) + a_error = float(getFieldValue(sfFactorTable,i,8)) + b_error = float(getFieldValue(sfFactorTable,i,9)) OutputWorkspace = _applySFtoArray(InputWorkspace, a, b, a_error, b_error) -- GitLab