From 261268abc4b7d450ebdee98f9bab2b5c0a93ed8b Mon Sep 17 00:00:00 2001 From: Eva Holtkamp <59055511+HolEv@users.noreply.github.com> Date: Thu, 12 Oct 2023 13:27:57 +0200 Subject: [PATCH] addressing comments from pull request --- deeprvat/deeprvat/associate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deeprvat/deeprvat/associate.py b/deeprvat/deeprvat/associate.py index 17d8213a..aac9ce31 100644 --- a/deeprvat/deeprvat/associate.py +++ b/deeprvat/deeprvat/associate.py @@ -580,10 +580,10 @@ def regress_( # compute null_model for score test if len(np.unique(y)) == 2: - logger.info("Fitting binary model since only found two distinct y values") + logger.warning("Fitting binary model since only found two distinct y values") model_score = scoretest.ScoretestLogit(y, X) else: - logger.warning("Fitting linear model") + logger.info("Fitting linear model") model_score = scoretest.ScoretestNoK(y, X) genes_betas_pvals = [ regress_on_gene_scoretest(gene, burdens[mask, i], model_score)