From a86dfa508df55ba54afd2e77897dec1da29a9c60 Mon Sep 17 00:00:00 2001
From: Pranav Bahuguna <pranav.bahuguna@stfc.ac.uk>
Date: Mon, 10 Apr 2017 09:58:32 +0100
Subject: [PATCH] Re #19245 Fixed some error

---
 .../src/DataProcessorUI/GenericDataProcessorPresenter.cpp      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MantidQt/MantidWidgets/src/DataProcessorUI/GenericDataProcessorPresenter.cpp b/MantidQt/MantidWidgets/src/DataProcessorUI/GenericDataProcessorPresenter.cpp
index 36a90b7447b..ce2c51eedee 100644
--- a/MantidQt/MantidWidgets/src/DataProcessorUI/GenericDataProcessorPresenter.cpp
+++ b/MantidQt/MantidWidgets/src/DataProcessorUI/GenericDataProcessorPresenter.cpp
@@ -636,7 +636,8 @@ GenericDataProcessorPresenter::reduceRow(const std::vector<std::string> &data) {
                                       ? globalOptions.at(columnName)
                                       : "";
       auto optionsMap = parseKeyValueString(options);
-      auto runWS = prepareRunWorkspace(runStr, preprocessor, optionsMap);
+      auto runWS =
+          prepareRunWorkspace(preProcessValue, preprocessor, optionsMap);
       alg->setProperty(propertyName, runWS->getName());
     } else {
       // No pre-processing needed
-- 
GitLab