diff options
author | Frederick Muriuki Muriithi | 2024-09-12 08:54:37 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-12 08:54:37 -0500 |
commit | e5fb91296bb91e61b9822cd12e04da24a0e99060 (patch) | |
tree | 40555f84d82b97324130458c578ccf37bbfbdbd4 /gn3/computations | |
parent | a23eb674191572867d1161b2b43285e060781062 (diff) | |
download | genenetwork3-e5fb91296bb91e61b9822cd12e04da24a0e99060.tar.gz |
Fix failing tests after merging in Pjotr's pull request.
Diffstat (limited to 'gn3/computations')
-rw-r--r-- | gn3/computations/wgcna.py | 4 |
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 { |