Commit a4228c87 authored by Samuel Jones's avatar Samuel Jones
Browse files

Re #23518 Turn off logging on algorithm calls

parent 0afb8979
...@@ -758,6 +758,7 @@ Mantid::API::MatrixWorkspace_sptr InstrumentActor::extractCurrentMask() const { ...@@ -758,6 +758,7 @@ Mantid::API::MatrixWorkspace_sptr InstrumentActor::extractCurrentMask() const {
-1); -1);
alg->setPropertyValue("InputWorkspace", getWorkspace()->getName()); alg->setPropertyValue("InputWorkspace", getWorkspace()->getName());
alg->setPropertyValue("OutputWorkspace", maskName); alg->setPropertyValue("OutputWorkspace", maskName);
alg->setLogging(false);
alg->execute(); alg->execute();
Mantid::API::MatrixWorkspace_sptr maskWorkspace = Mantid::API::MatrixWorkspace_sptr maskWorkspace =
......
...@@ -1365,6 +1365,7 @@ bool InstrumentWidgetMaskTab::saveMaskViewToProject( ...@@ -1365,6 +1365,7 @@ bool InstrumentWidgetMaskTab::saveMaskViewToProject(
alg->setProperty("InputWorkspace", alg->setProperty("InputWorkspace",
boost::dynamic_pointer_cast<Workspace>(outputWS)); boost::dynamic_pointer_cast<Workspace>(outputWS));
alg->setPropertyValue("OutputFile", fileName); alg->setPropertyValue("OutputFile", fileName);
alg->setLogging(false);
alg->execute(); alg->execute();
} catch (...) { } catch (...) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment