aboutsummaryrefslogtreecommitdiff
path: root/uploader/phenotypes/views.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-02-17 17:26:39 -0600
committerFrederick Muriuki Muriithi2025-02-18 08:24:38 -0600
commit9ee7f2eee907d0d073097ae3c0112b8b24419730 (patch)
tree1326bb71e02f9e134193954a60e20fd1fdbf66a0 /uploader/phenotypes/views.py
parent3470f09fd852fe664a77e1132dda41abfab1c2ab (diff)
downloadgn-uploader-9ee7f2eee907d0d073097ae3c0112b8b24419730.tar.gz
Select from searchable list and allow new species creation.
Select the species to use from a searchable list. In case the species does not exist in the list, allow creation of the list.
Diffstat (limited to 'uploader/phenotypes/views.py')
-rw-r--r--uploader/phenotypes/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index ddec54c..e0ce521 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -62,7 +62,7 @@ def index():
with database_connection(app.config["SQL_URI"]) as conn:
if not bool(request.args.get("species_id")):
return render_template("phenotypes/index.html",
- species=order_by_family(all_species(conn)),
+ species=all_species(conn),
activelink="phenotypes")
species = species_by_id(conn, request.args.get("species_id"))