From 0dd831d16d271a59bda63344a612691e85fdba3d Mon Sep 17 00:00:00 2001 From: Kayla Meyer Date: Wed, 29 May 2024 08:46:10 +0200 Subject: [PATCH] fix evaluation alpha key --- deeprvat/deeprvat/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deeprvat/deeprvat/config.py b/deeprvat/deeprvat/config.py index 0df41734..b6775c57 100644 --- a/deeprvat/deeprvat/config.py +++ b/deeprvat/deeprvat/config.py @@ -324,7 +324,7 @@ def update_config( else: logger.info("Not performing EAC filtering of baseline results") logger.info(f" Correcting p-values using {correction_method} method") - alpha = config["baseline_results"].get("alpha_seed_genes", config.get("alpha")) + alpha = config["baseline_results"].get("alpha_seed_genes", config["evaluation"].get("alpha")) baseline_df = pval_correction( baseline_df, alpha, correction_type=correction_method )