aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/computations/wgcna.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/computations/wgcna.py b/gn3/computations/wgcna.py
index e6fab26..a86c9ab 100644
--- a/gn3/computations/wgcna.py
+++ b/gn3/computations/wgcna.py
@@ -79,8 +79,8 @@ def call_wgcna_script(rscript_path: str, request_data: dict):
return run_cmd_results
output_file_data = json.load(outputfile)
- output_file_data["gn3"]["image_data"] = process_image(
- output_file_data["gn3"]["imageLoc"]).decode("ascii")
+ output_file_data["output"]["image_data"] = process_image(
+ output_file_data["output"]["imageLoc"]).decode("ascii")
# json format only supports unicode string// to get image data reconvert
return {