mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-16 23:55:52 +00:00
Add select row to best report
This commit is contained in:
BIN
app/app.db
BIN
app/app.db
Binary file not shown.
@@ -79,7 +79,10 @@ def best(file_name):
|
|||||||
with open(os.path.join(Folders.results, file_name)) as f:
|
with open(os.path.join(Folders.results, file_name)) as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return render_template("error.html", message=str(e))
|
return render_template(
|
||||||
|
"error.html",
|
||||||
|
message=f"This best results file ({file_name}) has not been created yet!",
|
||||||
|
)
|
||||||
return render_template("best.html", data=data)
|
return render_template("best.html", data=data)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<table id="file-table"
|
<table id="report-table"
|
||||||
class="table table-striped table-hover table-bordered bg-light">
|
class="table table-striped table-hover table-bordered bg-light">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="bg-primary text-white">
|
<tr class="bg-primary text-white">
|
||||||
|
Reference in New Issue
Block a user