Open excel file automatically when generated

This commit is contained in:
2025-05-28 17:37:53 +02:00
parent dcde8c01be
commit 514968a082
11 changed files with 97 additions and 69 deletions

View File

@@ -336,6 +336,7 @@ namespace platform {
BestResultsExcel excel_report(path, score, datasets);
excel_report.reportSingle(model, path + Paths::bestResultsFile(score, model));
messageOutputFile("Excel", excel_report.getFileName());
excelFileName = excel_report.getFileName();
}
}
void BestResults::reportAll(bool excel, bool tex, bool index)
@@ -373,6 +374,7 @@ namespace platform {
excel.reportSingle(model, path + Paths::bestResultsFile(score, model));
}
messageOutputFile("Excel", excel.getFileName());
excelFileName = excel.getFileName();
}
}
void BestResults::messageOutputFile(const std::string& title, const std::string& fileName)