From 27ee4d2c75db4a3eac637b142f2a98d64939c021 Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Fri, 7 Nov 2014 15:28:30 -0500 Subject: [PATCH] Revert "Refs #10438. Added checGroups to IAlgorithm." This reverts commit 8e55e36c6fa89795aa6a09bbb662538a4c936913. --- Code/Mantid/Framework/API/inc/MantidAPI/AlgorithmProxy.h | 1 - Code/Mantid/Framework/API/inc/MantidAPI/IAlgorithm.h | 2 -- Code/Mantid/Framework/API/src/AlgorithmProxy.cpp | 6 ------ 3 files changed, 9 deletions(-) diff --git a/Code/Mantid/Framework/API/inc/MantidAPI/AlgorithmProxy.h b/Code/Mantid/Framework/API/inc/MantidAPI/AlgorithmProxy.h index 72c3a82791f..182878ba1eb 100644 --- a/Code/Mantid/Framework/API/inc/MantidAPI/AlgorithmProxy.h +++ b/Code/Mantid/Framework/API/inc/MantidAPI/AlgorithmProxy.h @@ -88,7 +88,6 @@ namespace Mantid AlgorithmID getAlgorithmID() const; void initialize(); - bool checkGroups(); std::map<std::string, std::string> validateInputs(); bool execute(); void executeAsChildAlg() { throw std::runtime_error("Not implemented."); } diff --git a/Code/Mantid/Framework/API/inc/MantidAPI/IAlgorithm.h b/Code/Mantid/Framework/API/inc/MantidAPI/IAlgorithm.h index 09cce385700..ec14a1fea68 100644 --- a/Code/Mantid/Framework/API/inc/MantidAPI/IAlgorithm.h +++ b/Code/Mantid/Framework/API/inc/MantidAPI/IAlgorithm.h @@ -100,8 +100,6 @@ public: */ virtual void initialize() = 0; - virtual bool checkGroups() = 0; - /// Method checking errors on ALL the inputs, before execution. For use mostly in dialogs. virtual std::map<std::string, std::string> validateInputs() = 0; diff --git a/Code/Mantid/Framework/API/src/AlgorithmProxy.cpp b/Code/Mantid/Framework/API/src/AlgorithmProxy.cpp index 72e2c1d1383..28253008fce 100644 --- a/Code/Mantid/Framework/API/src/AlgorithmProxy.cpp +++ b/Code/Mantid/Framework/API/src/AlgorithmProxy.cpp @@ -56,12 +56,6 @@ namespace Mantid return AlgorithmID(const_cast<AlgorithmProxy*>(this)); } - bool AlgorithmProxy::checkGroups() - { - if (!m_alg) createConcreteAlg(); - return m_alg->checkGroups(); - } - /** Perform whole-input validation */ std::map<std::string, std::string> AlgorithmProxy::validateInputs() { -- GitLab