From 07b4ac11df45b0cc62081fba2c1775d023bdc8cc Mon Sep 17 00:00:00 2001 From: Owen Arnold <owen.arnold@stfc.ac.uk> Date: Thu, 15 Oct 2015 11:03:46 +0100 Subject: [PATCH] refs #13997. Don't rewrite spectra-detector map In the algorithm. David has explicitly set the spectrum numbers, so don't overwrite what he's put there already. --- Framework/DataHandling/src/LoadBBY.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Framework/DataHandling/src/LoadBBY.cpp b/Framework/DataHandling/src/LoadBBY.cpp index 5c670badbac..e117a87dd61 100644 --- a/Framework/DataHandling/src/LoadBBY.cpp +++ b/Framework/DataHandling/src/LoadBBY.cpp @@ -405,6 +405,7 @@ void LoadBBY::exec() { createChildAlgorithm("LoadInstrument"); loadInstrumentAlg->setProperty("Workspace", eventWS); loadInstrumentAlg->setPropertyValue("InstrumentName", "BILBY"); + loadInstrumentAlg->setProperty("RewriteSpectraMap", false); loadInstrumentAlg->executeAsChildAlg(); setProperty("OutputWorkspace", eventWS); @@ -826,4 +827,4 @@ void BbyDetectorBankFactory::createAndAssign(size_t startIndex, } } // DataHandling -} // Mantid \ No newline at end of file +} // Mantid -- GitLab