aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/ctl.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/computations/ctl.py')
-rw-r--r--gn3/computations/ctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/ctl.py b/gn3/computations/ctl.py
index 238740f..f881410 100644
--- a/gn3/computations/ctl.py
+++ b/gn3/computations/ctl.py
@@ -16,7 +16,7 @@ def call_ctl_script(data):
cmd = compose_wgcna_cmd("ctl_analysis.R", temp_file_name)
cmd_results = run_cmd(cmd)
- with open(temp_file_name, "r") as outputfile:
+ with open(temp_file_name, "r", encoding="utf-8") as outputfile:
if cmd_results["code"] != 0:
return (cmd_results, None)
output_file_data = json.load(outputfile)