Merge commit 'e8f89345aaedf24e583d5fc915a945ef7763b2d2' into feature/multiresvolume

* commit 'e8f89345aaedf24e583d5fc915a945ef7763b2d2':
  Replace spaces with underscores in node names
This commit is contained in:
Matthew Territo
2017-07-18 10:52:45 -06:00

View File

@@ -255,6 +255,8 @@ void PerformanceManager::writeData(std::ofstream& out, const std::vector<float>&
std::string PerformanceManager::formatLogName(std::string nodeName) {
// Replace any colons with dashes
std::replace(nodeName.begin(), nodeName.end(), ':', '-');
// Replace spaces with underscore
std::replace(nodeName.begin(), nodeName.end(), ' ', '_');
return _logDir + "/" + _prefix + nodeName + _suffix + "." + _ext;
}