aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-08-16 15:48:35 +0300
committerFrederick Muriuki Muriithi2022-08-16 15:48:35 +0300
commit7223c87be6849e591d9ebd3cd81d526ca0bb0571 (patch)
treef19b96d35c1e8896af84524a60ca88196f462e54 /wqflask
parent62ec9231724fef6d94038d8f76bbda33ca0a209f (diff)
downloadgenenetwork2-7223c87be6849e591d9ebd3cd81d526ca0bb0571.tar.gz
Convert list items to single dict
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/rust_correlation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/correlation/rust_correlation.py b/wqflask/wqflask/correlation/rust_correlation.py
index 3628f549..b93c306d 100644
--- a/wqflask/wqflask/correlation/rust_correlation.py
+++ b/wqflask/wqflask/correlation/rust_correlation.py
@@ -122,9 +122,9 @@ def __compute_lit_corr__(
this_trait, this_dataset)
with database_connector() as conn:
- return compute_all_lit_correlation(
+ return dict(compute_all_lit_correlation(
conn=conn, trait_lists=list(geneid_dict.items()),
- species=species, gene_id=this_trait_geneid)
+ species=species, gene_id=this_trait_geneid))
return {}
def compute_correlation_rust(