From 2822237883b9a91fb35f33fb9094d2dcb9e44855 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 13 Dec 2021 07:24:57 +0300 Subject: 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. --- wqflask/wqflask/partial_correlations_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3