creating defautl template if missing

This commit is contained in:
2026-07-27 14:55:35 +02:00
parent 0d47360f41
commit fc733bd37f
5 changed files with 45 additions and 2 deletions
+5
View File
@@ -14,6 +14,11 @@ bool DemandHandler::init() {
if (!midas::odb::exists(this->path)) {
TMFE::Instance()->Msg(MERROR, __FUNCTION__, "Key at %s doesn't exists",
path.c_str());
midas::odb o(this->path);
std::vector<float> v = {0.0};
o = v;
initSuccess = false;
}
midas::odb o(this->path);