From ff34aee0f39c2e91db243461d7d67405e7aea0e3 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 30 Sep 2022 14:29:30 +0300 Subject: Add escape char to avoid error notice. --- gn3/computations/rust_correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3