diff options
-rw-r--r-- | qc_app/samples.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qc_app/samples.py b/qc_app/samples.py index 1845818..62b0361 100644 --- a/qc_app/samples.py +++ b/qc_app/samples.py @@ -79,12 +79,12 @@ def create_population(): "Description": request.form.get("description") or None }) - flash("Grouping/Population created successfully.", "alert-success") - return render_template( - "samples/upload-samples.html", - species=species, - population=with_db_connection( - lambda conn: population_by_id(conn, pop["population_id"]))) + flash("Grouping/Population created successfully.", "alert-success") + return render_template( + "samples/upload-samples.html", + species=species, + population=with_db_connection( + lambda conn: population_by_id(conn, pop["population_id"]))) @samples.route("/upload/select-population", methods=["POST"]) def select_population(): |