diff options
author | Frederick Muriuki Muriithi | 2021-12-13 07:24:57 +0300 |
---|---|---|
committer | zsloan | 2022-01-29 00:42:44 -0600 |
commit | 2822237883b9a91fb35f33fb9094d2dcb9e44855 (patch) | |
tree | 50bb634584d5ec33cab78275dfb716986de8c96b | |
parent | db0fc679dcef0360c4b99d28d9126026b893af70 (diff) | |
download | genenetwork2-2822237883b9a91fb35f33fb9094d2dcb9e44855.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) |