Formatting

This commit is contained in:
2026-11-24 10:01:23 +01:00
parent 776de1f593
commit 5f866c04b4
4 changed files with 41 additions and 34 deletions
+1 -2
View File
@@ -82,12 +82,11 @@ void SimulationOutput::writeMetaData(
// find occurance of last slash in the path of the parameter
size_t slshidx = parameter_file_path.rfind("/");
// if its a relative path append a slash otherwise use the substring from the last slash onwards
std::string hdf5path = (slshidx == std::string::npos) ?
"/" + parameter_file_path :
parameter_file_path.substr(slshidx);
SIM_INFO("blubb: " + hdf5path);
writer.write(file.str(), hdf5path);
}
}