Skip to content
Snippets Groups Projects
Commit 07b4ac11 authored by Owen Arnold's avatar Owen Arnold
Browse files

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.
parent f2f54c00
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment