From 99d9c213f1c825af5b5bf6007521894b29131ba8 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Mon, 6 Dec 2021 14:07:57 +0300 Subject: add new endpoint:for test gn3 wgcna --- wqflask/wqflask/views.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 23b4e07a..f2c539d1 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -339,9 +339,11 @@ def wcgna_setup(): return render_template("wgcna_setup.html", **request.form) -@app.route("/wgcna_results", methods=('POST',)) -def wcgna_results(): - """call the gn3 api to get wgcna response data""" + + +@app.route("/test/wgcna_results", methods=('POST',)) +def test_wcgna_results(): + """test 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