diff options
author | Alexander Kabui | 2021-09-16 09:32:42 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-09-16 09:32:42 +0300 |
commit | 8854e3070f32bed95cb489eb36e7f258c02ec46e (patch) | |
tree | 360192f942d43d9c13a6a4bac62a69d8e267b3d0 | |
parent | 38cbc95f216548d4a2f46b8e25cd328ff8c52d62 (diff) | |
download | genenetwork3-8854e3070f32bed95cb489eb36e7f258c02ec46e.tar.gz |
add initial endpoint for wgcna
-rw-r--r-- | gn3/api/wgcna.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gn3/api/wgcna.py b/gn3/api/wgcna.py new file mode 100644 index 0000000..a3bacdd --- /dev/null +++ b/gn3/api/wgcna.py @@ -0,0 +1,13 @@ +"""endpoint to run wgcna analysis""" +from flask import Blueprint +from flask import request + +wgcna = Blueprint("wgcna", __name__) + + +@wgcna.route("/run_wgcna", methods=["POST"]) +def run_wgcna(): + + _wgcna_data = request.json + + return "success", 200 |