aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/views.py')
-rw-r--r--gn2/wqflask/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 837677dd..cbf530c6 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -1183,7 +1183,8 @@ def get_phenotype(name, group=None):
@app.route("/probesets/<name>", methods=('GET',))
-def get_probeset(name):
+@app.route("/probesets/<dataset>/<name>", methods=["GET"])
+def get_probeset(name, dataset=None):
metadata = requests.get(
urljoin(
GN3_LOCAL_URL,
@@ -1192,6 +1193,7 @@ def get_probeset(name):
return render_template(
"probeset.html",
name=name,
+ dataset=dataset,
metadata=metadata,
)