aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/wgcna.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gn3/computations/wgcna.py b/gn3/computations/wgcna.py
index 436a888..1ee55f5 100644
--- a/gn3/computations/wgcna.py
+++ b/gn3/computations/wgcna.py
@@ -45,4 +45,7 @@ def call_wgcna_script(rscript_path: str, request_data: dict):
**run_cmd_results
}
except Exception as error:
- raise error
+ # relook at handling errors gn3
+ return {
+ "output": str(error)
+ }