aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-09-30 14:29:30 +0300
committerFrederick Muriuki Muriithi2022-09-30 14:29:30 +0300
commitff34aee0f39c2e91db243461d7d67405e7aea0e3 (patch)
treef15097f28f6b621af24cb0ddfd2314fb3f22759c /gn3
parent0d365ddd4e579674faefe17ce2e0fc372e6aeeee (diff)
downloadgenenetwork3-ff34aee0f39c2e91db243461d7d67405e7aea0e3.tar.gz
Add escape char to avoid error notice.
Diffstat (limited to 'gn3')
-rw-r--r--gn3/computations/rust_correlation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py
index d34b3bc..8c3a0d3 100644
--- a/gn3/computations/rust_correlation.py
+++ b/gn3/computations/rust_correlation.py
@@ -24,7 +24,7 @@ def generate_input_files(dataset: list[str],
with open(tmp_file, "w", encoding="utf-8") as op_file:
writer = csv.writer(
op_file, delimiter=",", dialect="unix", quotechar="",
- quoting=csv.QUOTE_NONE)
+ quoting=csv.QUOTE_NONE, escapechar="\\")
writer.writerows(dataset)
return (tmp_dir, tmp_file)