Skip to content

Commit

Permalink
refs #4328 Change id for OnDisk Mementos.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jan 3, 2012
1 parent d30a861 commit 7a29ed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidQt/CustomInterfaces/src/WorkspaceOnDisk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ namespace MantidQt
IAlgorithm_sptr alg = Mantid::API::AlgorithmManager::Instance().create("LoadRaw");
alg->initialize();
alg->setProperty("Filename", m_fileName);
alg->setProperty("OutputWorkspace", m_adsID);
alg->setProperty("OutputWorkspace", "_temp");
alg->execute();

return boost::dynamic_pointer_cast<MatrixWorkspace>(AnalysisDataService::Instance().retrieve(m_adsID));
return boost::dynamic_pointer_cast<MatrixWorkspace>(AnalysisDataService::Instance().retrieve("_temp"));
}

/**
Expand Down

0 comments on commit 7a29ed2

Please sign in to comment.