aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/pre_computes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/pre_computes.py b/wqflask/wqflask/correlation/pre_computes.py
index 330925f9..85720013 100644
--- a/wqflask/wqflask/correlation/pre_computes.py
+++ b/wqflask/wqflask/correlation/pre_computes.py
@@ -204,7 +204,7 @@ def read_text_file(sample_dict, file_path):
csv_reader = csv.reader(csv_file, delimiter=',')
_posit, sample_vals = __fetch_id_positions__(
next(csv_reader)[1:], sample_dict)
- return (sample_vals, [",".join([line[i] for i in _posit]) for line in csv_reader])
+ return (sample_vals, [[line[i] for i in _posit] for line in csv_reader])
def write_db_to_textfile(db_name, conn, text_dir=TMPDIR):