Skip to content

Commit

Permalink
Ignore empty workspace names
Browse files Browse the repository at this point in the history
Refs #11651
  • Loading branch information
DanNixon committed May 5, 2015
1 parent d8dc0e5 commit a3b282b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Code/Mantid/Framework/CurveFitting/src/PlotPeakByLogValue.cpp
Expand Up @@ -595,9 +595,11 @@ PlotPeakByLogValue::getMinimizerString(const std::string &wsName,
Mantid::API::WorkspaceProperty<> *wsProp =
dynamic_cast<Mantid::API::WorkspaceProperty<> *>(*it);
if (wsProp) {
std::string wsPropName = (*it)->name();
std::string wsPropValue = (*it)->value();
m_minimizerWorkspaces[wsPropName].push_back(wsPropValue);
if (wsPropValue != "") {
std::string wsPropName = (*it)->name();
m_minimizerWorkspaces[wsPropName].push_back(wsPropValue);
}
}
}

Expand Down

0 comments on commit a3b282b

Please sign in to comment.