Skip to content

Commit

Permalink
Sqw should be a choice between 2 and 3
Browse files Browse the repository at this point in the history
Refs #10749
  • Loading branch information
DanNixon committed Dec 10, 2014
1 parent 8cd667a commit d4de111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -2332,12 +2332,12 @@ Later steps in the process (saving, renaming) will not be done.</string>
</property>
<item>
<property name="text">
<string>Centre (SofQW)</string>
<string>Parallelepiped (SofQW2)</string>
</property>
</item>
<item>
<property name="text">
<string>Parallelepiped (SofQW2)</string>
<string>Parallelepiped/Fractional Area (SofQW3)</string>
</property>
</item>
</widget>
Expand Down
6 changes: 3 additions & 3 deletions Code/Mantid/MantidQt/CustomInterfaces/src/IndirectSqw.cpp
Expand Up @@ -180,10 +180,10 @@ namespace CustomInterfaces
IAlgorithm_sptr sqwAlg;
QString rebinType = m_uiForm.sqw_cbRebinType->currentText();

if(rebinType == "Centre (SofQW)")
sqwAlg = AlgorithmManager::Instance().create("SofQW");
else if(rebinType == "Parallelepiped (SofQW2)")
if(rebinType == "Parallelepiped (SofQW2)")
sqwAlg = AlgorithmManager::Instance().create("SofQW2");
else if(rebinType == "Parallelepiped/Fractional Area (SofQW3)")
sqwAlg = AlgorithmManager::Instance().create("SofQW3");

// S(Q, w) algorithm
sqwAlg->initialize();
Expand Down

0 comments on commit d4de111

Please sign in to comment.