diff options
author | Alexander Kabui | 2021-12-06 17:19:02 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-12-13 15:48:00 +0300 |
commit | 3329584a1cfaa884b35bc35e6579d53c7edca84e (patch) | |
tree | 51577c9832e06831c66585dc311da30eb2b4af7b | |
parent | 744d7290d8b7eb32546692efe870bfc4e85d5e4a (diff) | |
download | genenetwork2-3329584a1cfaa884b35bc35e6579d53c7edca84e.tar.gz |
modify endpoint for test wgcna
-rw-r--r-- | wqflask/wqflask/views.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index f2c539d1..23b4e07a 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -339,11 +339,9 @@ def wcgna_setup(): return render_template("wgcna_setup.html", **request.form) - - -@app.route("/test/wgcna_results", methods=('POST',)) -def test_wcgna_results(): - """test call the gn3 api to get wgcna response data""" +@app.route("/wgcna_results", methods=('POST',)) +def wcgna_results(): + """call the gn3 api to get wgcna response data""" results = run_wgcna(dict(request.form)) return render_template("test_wgcna_results.html", **results) |