Add fields to dataset table report

This commit is contained in:
2023-06-07 16:59:30 +02:00
parent 61d76a8651
commit 13af6b83d4
11 changed files with 120 additions and 61 deletions

View File

@@ -106,6 +106,7 @@ def report(file_name):
os.chdir(current_user.benchmark.folder)
back = request.args.get("url") or ""
back_name = request.args.get("url_name") or ""
app_config = dotenv_values(".env")
with open(os.path.join(Folders.results, file_name)) as f:
data = json.load(f)
try:
@@ -121,6 +122,7 @@ def report(file_name):
summary=summary,
back=back,
back_name=back_name,
app_config=app_config,
)