From 8abde124ecfd86efe021aab4acb4621270156439 Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Mon, 20 Oct 2014 09:44:52 +0100 Subject: [PATCH] Default to loading mica when fmica is selected on IRIS Refs #10388 --- .../CustomInterfaces/src/IndirectDataReductionTab.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectDataReductionTab.cpp b/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectDataReductionTab.cpp index e13eb6cd28f6..f9283efd889f 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectDataReductionTab.cpp +++ b/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectDataReductionTab.cpp @@ -197,6 +197,10 @@ namespace CustomInterfaces // Get the instrument workspace MatrixWorkspace_sptr instWorkspace = loadInstrumentIfNotExist(instrumentName, analyser, reflection); + // In the IRIS IPF there is no fmica component + if(instrumentName == "IRIS" && analyser == "fmica") + analyser = "mica"; + // Get the instrument auto instrument = instWorkspace->getInstrument()->getComponentByName(analyser); if(instrument == NULL)