aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2022-08-16 12:41:21 +0300
committerAlexander_Kabui2022-08-16 12:41:21 +0300
commita07e80862e210dfaee9a42645306bd5bdcd8a911 (patch)
tree2e7173033cf1a142478ab21ceed97410ddf2f2a8
parent56928f087caaa7021a34a1186d0316a9e35e3e9c (diff)
downloadgenenetwork2-a07e80862e210dfaee9a42645306bd5bdcd8a911.tar.gz
index error fix
-rw-r--r--wqflask/wqflask/correlation/rust_correlation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py
index ce1b5fda..0bbf6533 100644
--- a/wqflask/wqflask/correlation/rust_correlation.py
+++ b/wqflask/wqflask/correlation/rust_correlation.py
@@ -33,7 +33,7 @@ def chunk_dataset(dataset,steps,name):
curr.execute(query)
- traits_name_dict = curr.fetchall()
+ traits_name_dict = dict(curr.fetchall())
for i in range(0, len(dataset), steps):
matrix = list(dataset[i:i + steps])