diff options
author | Frederick Muriuki Muriithi | 2022-08-16 15:48:35 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-08-16 15:48:35 +0300 |
commit | 7223c87be6849e591d9ebd3cd81d526ca0bb0571 (patch) | |
tree | f19b96d35c1e8896af84524a60ca88196f462e54 | |
parent | 62ec9231724fef6d94038d8f76bbda33ca0a209f (diff) | |
download | genenetwork2-7223c87be6849e591d9ebd3cd81d526ca0bb0571.tar.gz |
Convert list items to single dict
-rw-r--r-- | wqflask/wqflask/correlation/rust_correlation.py | 4 |
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( |