aboutsummaryrefslogtreecommitdiff
path: root/qc_app/upload
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-08 05:50:24 +0300
committerFrederick Muriuki Muriithi2024-01-08 05:52:07 +0300
commit951c3c2fd343eec4b3743ac313ad6ce49082dda3 (patch)
treeb215b0b79b1bea5e8a51bd9d37033ed0b47a5fa8 /qc_app/upload
parentcace7a50a45c6d227bce52569fcfc2944fbcbe92 (diff)
downloadgn-uploader-951c3c2fd343eec4b3743ac313ad6ce49082dda3.tar.gz
Use extracted functions and fix bugs
Diffstat (limited to 'qc_app/upload')
-rw-r--r--qc_app/upload/rqtl2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qc_app/upload/rqtl2.py b/qc_app/upload/rqtl2.py
index 06edfee..aabcea9 100644
--- a/qc_app/upload/rqtl2.py
+++ b/qc_app/upload/rqtl2.py
@@ -19,7 +19,7 @@ rqtl2 = Blueprint("rqtl2", __name__)
def select_species():
"""Select the species."""
if request.method == "GET":
- return render_template("rqtl2/index.html", species=all_species())
+ return render_template("rqtl2/index.html", species=with_db_connection(all_species))
species_id = request.form.get("species_id")
species = with_db_connection(