From 3329584a1cfaa884b35bc35e6579d53c7edca84e Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Mon, 6 Dec 2021 17:19:02 +0300 Subject: modify endpoint for test wgcna --- wqflask/wqflask/views.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'wqflask') 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) -- cgit v1.2.3