From 09814115f84c4a207c48e1a566957980011b01bf Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 24 Aug 2022 21:20:45 +0000 Subject: Fix issue where literature correlations were always run against their own dataset, instead of the target dataset --- 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 2a90317b..a4cef6b8 100644 --- a/wqflask/wqflask/correlation/rust_correlation.py +++ b/wqflask/wqflask/correlation/rust_correlation.py @@ -205,7 +205,7 @@ def __compute_lit_corr__( target_dataset_type = target_dataset.type this_dataset_type = this_dataset.type (this_trait_geneid, geneid_dict, species) = do_lit_correlation( - this_trait, this_dataset) + this_trait, target_dataset) with database_connector() as conn: return reduce( -- cgit v1.2.3