From 2668dabc88add8485e9b1b8216c82c2545c1d8e4 Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 7 Feb 2020 11:43:25 -0600 Subject: Tour link now redirects to GN1 --- wqflask/wqflask/views.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index ee8bd8a0..00cdd1ab 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -66,6 +66,7 @@ from utility.benchmark import Bench from pprint import pformat as pf from wqflask import user_manager + from wqflask import collect from wqflask.database import db_session @@ -793,6 +794,12 @@ def snp_browser_page(): return render_template("snp_browser.html", **template_vars.__dict__) +@app.route("/tutorial/WebQTLTour", methods=('GET',)) +def tutorial_page(): + #ZS: Currently just links to GN1 + logger.info(request.url) + return redirect("http://gn1.genenetwork.org/tutorial/WebQTLTour/") + @app.route("/submit_bnw", methods=('POST',)) def submit_bnw(): logger.info(request.url) -- cgit v1.2.3