Skip to content

Commit

Permalink
Port MDWDiag to new Python API. Refs #7468
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Jul 22, 2013
1 parent fee3d2a commit 961cf25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/MantidWidgets/src/MWDiag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ QString MWDiag::createDiagnosticScript() const

QString diagCall =
"from DirectEnergyConversion import setup_reducer\n"
"from mantidsimple import mtd\n"
"from mantidimport mtd\n"
"reducer = setup_reducer(mtd.settings['default.instrument'])\n"
"diag_total_mask = reducer.diagnose(";

Expand Down

0 comments on commit 961cf25

Please sign in to comment.