diff options
author | Frederick Muriuki Muriithi | 2021-12-13 07:24:57 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-01-28 08:07:26 +0300 |
commit | 1720d204c484d88d038fcab89f0117873a2bfc9b (patch) | |
tree | 91129775ee5f73ac9e5df06f342fabcd4b3a7d0a | |
parent | 9f7d536de130c9647cc455a07391842d9a0675c4 (diff) | |
download | genenetwork2-1720d204c484d88d038fcab89f0117873a2bfc9b.tar.gz |
Skip the target traits selection step
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
* Skip the target traits selection step, and only allow running the
partial correlations against one of the available databases.
-rw-r--r-- | wqflask/wqflask/partial_correlations_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/partial_correlations_views.py b/wqflask/wqflask/partial_correlations_views.py index bee0a033..9a443897 100644 --- a/wqflask/wqflask/partial_correlations_views.py +++ b/wqflask/wqflask/partial_correlations_views.py @@ -51,7 +51,7 @@ def process_step_select_controls( hmacs =(primary_trait["data_hmac"],) + tuple( trait["data_hmac"] for trait in control_traits) return ( - "select-targets", primary_trait, control_traits, target_traits, + "select-corr-method", primary_trait, control_traits, target_traits, tuple( trait for trait in traits_list if trait["data_hmac"] not in hmacs), corr_method) |