From e5fb91296bb91e61b9822cd12e04da24a0e99060 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 12 Sep 2024 08:54:37 -0500 Subject: Fix failing tests after merging in Pjotr's pull request. --- gn3/computations/wgcna.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3') 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 { -- cgit v1.2.3