aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-12 08:54:37 -0500
committerFrederick Muriuki Muriithi2024-09-12 08:54:37 -0500
commite5fb91296bb91e61b9822cd12e04da24a0e99060 (patch)
tree40555f84d82b97324130458c578ccf37bbfbdbd4 /gn3
parenta23eb674191572867d1161b2b43285e060781062 (diff)
downloadgenenetwork3-e5fb91296bb91e61b9822cd12e04da24a0e99060.tar.gz
Fix failing tests after merging in Pjotr's pull request.
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 {