Skip to content

Commit

Permalink
addressing comments from pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
HolEv authored Oct 12, 2023
1 parent 95bbf35 commit 261268a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deeprvat/deeprvat/associate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 261268a

Please sign in to comment.