Skip to content
Snippets Groups Projects
Commit 96193102 authored by Nick Draper's avatar Nick Draper
Browse files

change warnmessage sensitivity and found another -1

re #13936
parent 6f636632
No related branches found
No related tags found
No related merge requests found
......@@ -370,7 +370,7 @@ WorkspaceHistory::parseAlgorithmHistory(const std::string &rawData) {
// Get the duration
getWordsInString(info[EXEC_DUR], dummy, dummy, temp, dummy);
double dur = boost::lexical_cast<double>(temp);
if (dur < 0.0) {
if (dur < -1.0) {
g_log.warning() << "Error parsing duration in algorithm history entry."
<< "\n";
dur = -1.0;
......
......@@ -147,7 +147,7 @@ void SaveNexus::runSaveNexusProcessed() {
// If we're tracking history, add the entry before we save it to file
if (trackingHistory()) {
m_history->fillAlgorithmHistory(
this, Mantid::Kernel::DateAndTime::getCurrentTime(), -1,
this, Mantid::Kernel::DateAndTime::getCurrentTime(), 0,
Algorithm::g_execCount);
if (!isChild()) {
m_inputWorkspace->history().addHistory(m_history);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment