Skip to content

Commit

Permalink
Default to loading mica when fmica is selected on IRIS
Browse files Browse the repository at this point in the history
Refs #10388
  • Loading branch information
DanNixon committed Oct 20, 2014
1 parent 6123bd4 commit 8abde12
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -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)
Expand Down

0 comments on commit 8abde12

Please sign in to comment.