Skip to content

Commit

Permalink
Refs #7836 Change output workspace name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Oct 10, 2013
1 parent 0f5c962 commit 53a33dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidQt/CustomInterfaces/src/Indirect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1792,8 +1792,8 @@ void Indirect::sOfQwPlotInput()
pyInput += "input = '" + m_uiForm.sqw_cbWorkspace->currentText() + "'\n";
}

pyInput += "ConvertSpectrumAxis(InputWorkspace=input, OutputWorkspace=input+'_q', Target='ElasticQ', EMode='Indirect')\n"
"ws = importMatrixWorkspace(input+'_q')\n"
pyInput += "ConvertSpectrumAxis(InputWorkspace=input, OutputWorkspace=input[:-4]+'_rqw', Target='ElasticQ', EMode='Indirect')\n"
"ws = importMatrixWorkspace(input[:-4]+'_rqw')\n"
"ws.plotGraph2D()\n";

QString pyOutput = runPythonCode(pyInput).trimmed();
Expand Down

0 comments on commit 53a33dd

Please sign in to comment.