diff options
author | Alexander Kabui | 2021-09-22 00:49:22 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-09-22 00:49:22 +0300 |
commit | 6f7c60e6c438ada9a3b9032c8e4509351384e04f (patch) | |
tree | 877510e5d7a65dbbe3664a3c9f9632b8a5a7f432 /gn3/api/wgcna.py | |
parent | 580778386f054706086d7ab3d49f2c4f91f110e0 (diff) | |
download | genenetwork3-6f7c60e6c438ada9a3b9032c8e4509351384e04f.tar.gz |
jsonify results
Diffstat (limited to 'gn3/api/wgcna.py')
-rw-r--r-- | gn3/api/wgcna.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/api/wgcna.py b/gn3/api/wgcna.py index 5d49493..89784c4 100644 --- a/gn3/api/wgcna.py +++ b/gn3/api/wgcna.py @@ -2,6 +2,7 @@ from flask import Blueprint from flask import request from flask import current_app +from flask import jsonify from gn3.computations.wgcna import call_wgcna_script @@ -18,4 +19,4 @@ def run_wgcna(): results = call_wgcna_script(wgcna_script, wgcna_data) - return results, 200 + return jsonify(results), 200 |