From 7223c87be6849e591d9ebd3cd81d526ca0bb0571 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 16 Aug 2022 15:48:35 +0300 Subject: Convert list items to single dict --- wqflask/wqflask/correlation/rust_correlation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask') 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( -- cgit v1.2.3