diff options
author | Frederick Muriuki Muriithi | 2022-09-30 14:29:30 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-09-30 14:29:30 +0300 |
commit | ff34aee0f39c2e91db243461d7d67405e7aea0e3 (patch) | |
tree | f15097f28f6b621af24cb0ddfd2314fb3f22759c | |
parent | 0d365ddd4e579674faefe17ce2e0fc372e6aeeee (diff) | |
download | genenetwork3-ff34aee0f39c2e91db243461d7d67405e7aea0e3.tar.gz |
Add escape char to avoid error notice.
-rw-r--r-- | gn3/computations/rust_correlation.py | 2 |
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) |