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

Remove file dumping from the logging

parent 8d126209
......@@ -57,6 +57,7 @@ void SaveMask::exec() {
this->createChildAlgorithm("ExtractMask", 0.0, 0.5, false);
emAlg->setProperty("InputWorkspace", userInputWS);
emAlg->setPropertyValue("OutputWorkspace", "tmp");
emAlg->setLogging(this->isLogging());
emAlg->execute();
API::MatrixWorkspace_sptr ws = emAlg->getProperty("OutputWorkspace");
inpWS = boost::dynamic_pointer_cast<DataObjects::SpecialWorkspace2D>(ws);
......
......@@ -287,7 +287,7 @@ public:
lock.unlock();
notificationCenter.postNotification(new PreDeleteNotification(name, data));
data.reset(); // DataService now has no references to the object
g_log.information("Data Object '" + name + "' deleted from data service.");
g_log.debug("Data Object '" + name + "' deleted from data service.");
notificationCenter.postNotification(new PostDeleteNotification(name));
}
......
......@@ -1387,7 +1387,8 @@ bool InstrumentWidgetMaskTab::saveMaskViewToProject(
return false; // no mask workspace was found
// save mask to file inside project folder
auto alg = AlgorithmManager::Instance().create("SaveMask", -1);
auto alg = AlgorithmManager::Instance().createUnmanaged("SaveMask", -1);
alg->setChild(true);
alg->setProperty("InputWorkspace",
boost::dynamic_pointer_cast<Workspace>(outputWS));
alg->setPropertyValue("OutputFile", fileName);
......
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