aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-09-16 13:26:53 +0300
committerBonfaceKilz2021-09-16 13:28:32 +0300
commitb6c0885007d516b257d1027b97df66c11b8672dd (patch)
treea05e7c47012a94792e992f23f07392038ffd0cbc
parent8d54d1871e1319f7db46132d3eed61a817d5dc4c (diff)
downloadgenenetwork2-b6c0885007d516b257d1027b97df66c11b8672dd.tar.gz
wqflask: views: Redirect to the correct URL after phenotype update
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 54314a20..85aa6b17 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -633,7 +633,7 @@ def update_phenotype():
json_data=json.dumps(diff_data)))
flash(f"Diff-data: \n{diff_data}\nhas been uploaded", "success")
return redirect(f"/trait/{data_.get('dataset-name')}"
- f"/edit/phenotype-id/{data_.get('phenotype-id')}")
+ f"/edit/inbredset-id/{data_.get('inbred-set-id')}")
@app.route("/probeset/update", methods=["POST"])