Skip to content

Commit

Permalink
Made refreduction routine works with REF_L nexus when pola of REF_M s…
Browse files Browse the repository at this point in the history
…ide is on (but hidden). This refs #4303
  • Loading branch information
JeanBilheux committed Apr 17, 2012
1 parent 3419d14 commit a4ce5c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ void RefReduction::init()
void RefReduction::exec()
{
m_outputWorkspaceCounter = 0;
const std::string instrument = getProperty("Instrument");
const bool isREF_M = instrument.compare("REF_M")==0;
// Process each polarization state
if (getProperty("PolarizedData"))
if (getProperty("PolarizedData") && isREF_M)
{
processData(PolStateOffOff);
processData(PolStateOnOff);
Expand Down

0 comments on commit a4ce5c1

Please sign in to comment.