From e74988d74e2090936e4b6ad576a30eb6e4705b4d Mon Sep 17 00:00:00 2001 From: Arturs Bekasovs <arturs.bekasovs@stfc.ac.uk> Date: Mon, 2 Sep 2013 11:56:01 +0100 Subject: [PATCH] Solved the problem by removing old groups after regrouping. Refs #7852 --- Code/Mantid/Framework/DataHandling/src/Load.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Code/Mantid/Framework/DataHandling/src/Load.cpp b/Code/Mantid/Framework/DataHandling/src/Load.cpp index eeb613d8531..73fdbd6c1f9 100644 --- a/Code/Mantid/Framework/DataHandling/src/Load.cpp +++ b/Code/Mantid/Framework/DataHandling/src/Load.cpp @@ -779,6 +779,9 @@ namespace Mantid //childWs->setName(isGroup->getName() + "_" + boost::lexical_cast<std::string>(count)); group->addWorkspace(childWs); } + + // Remove the old group from the ADS + AnalysisDataService::Instance().remove(isGroup->getName()); } else { -- GitLab