diff options
author | Alexander_Kabui | 2024-05-13 18:24:36 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-05-13 18:24:36 +0300 |
commit | 01eba6e9b54e45bc937983e33b439a353118de2c (patch) | |
tree | ab2389a7931c1c3d273c434c7d29380f312fa5c4 /gn2 | |
parent | c5800e1ba6e7c5180fdfcf0cf933b1992271d67f (diff) | |
download | genenetwork2-01eba6e9b54e45bc937983e33b439a353118de2c.tar.gz |
Disable gnqa functionality.
* to test the functionality use ga.genenetwork.org
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/templates/base.html | 3 | ||||
-rw-r--r-- | gn2/wqflask/views.py | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 26b75230..14b484a5 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -183,10 +183,11 @@ </div> <!-- todo fix text overlap for this;;responsiveness--> + <!-- this functionality is currently use;ga.genenetwork.org/gnqna <span style="padding: 5px;margin-left: 65px;" id="gnqna_home"> <a href="/gnqna">GNQA Search</a> </span> - + --> <span style="padding: 5px;margin-left: 65px;" > <a style="text-decoration: none" target="_blank" href="https://issues.genenetwork.org/topics/xapian/xapian-search-queries"> <i style="text-align: center;color:#336699;;" class="fa fa-question-circle fa-2x" title="see more search hints" aria-hidden="true"></i> diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 843ed07a..9f403ace 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -255,8 +255,12 @@ def gsearchtable(): return flask.jsonify(current_page) -@app.route("/gnqna", methods=["POST", "GET"]) +"""@app.route("/gnqna", methods=["POST", "GET"]) ;;feature currently disabled +;;use ga.genenetwork.org @require_oauth2 +""" + + def gnqna(): if request.method == "POST": |