diff options
author | zsloan | 2022-08-24 21:20:45 +0000 |
---|---|---|
committer | zsloan | 2022-08-24 21:20:45 +0000 |
commit | 09814115f84c4a207c48e1a566957980011b01bf (patch) | |
tree | 3306816a38fbcb87c690673e2719b3460bb300f3 /wqflask | |
parent | d0c210dfb79ddf851d8cd721801c88df40f08d5a (diff) | |
download | genenetwork2-09814115f84c4a207c48e1a566957980011b01bf.tar.gz |
Fix issue where literature correlations were always run against their own dataset, instead of the target dataset
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/correlation/rust_correlation.py | 2 |
1 files changed, 1 insertions, 1 deletions
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( |