From a07e80862e210dfaee9a42645306bd5bdcd8a911 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 16 Aug 2022 12:41:21 +0300 Subject: index error fix --- wqflask/wqflask/correlation/rust_correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit v1.2.3