Skip to content

Commit f5dfc11

Browse files
authored
Merge pull request #211 from singjc/split/levels-contexts-fix
fix: use error estimation config in levels contexts
2 parents 23c8093 + 69bf012 commit f5dfc11

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

pyprophet/levels_contexts.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,14 @@ def infer_glycopeptides(
326326
"glycopeptide",
327327
density_estimator=config.density_estimator,
328328
grid_size=config.grid_size,
329-
parametric=config.parametric,
330-
pfdr=config.pfdr,
331-
pi0_lambda=config.pi0_lambda,
332-
pi0_method=config.pi0_method,
333-
pi0_smooth_df=config.pi0_smooth_df,
334-
pi0_smooth_log_pi0=config.pi0_smooth_log_pi0,
335-
lfdr_truncate=config.lfdr_truncate,
336-
lfdr_monotone=config.lfdr_monotone,
329+
parametric=config.error_estimation_config.parametric,
330+
pfdr=config.error_estimation_config.pfdr,
331+
pi0_lambda=config.error_estimation_config.pi0_lambda,
332+
pi0_method=config.error_estimation_config.pi0_method,
333+
pi0_smooth_df=config.error_estimation_config.pi0_smooth_df,
334+
pi0_smooth_log_pi0=config.error_estimation_config.pi0_smooth_log_pi0,
335+
lfdr_truncate=config.error_estimation_config.lfdr_truncate,
336+
lfdr_monotone=config.error_estimation_config.lfdr_monotone,
337337
# lfdr_transformation=lfdr_transformation,
338338
# lfdr_adj=lfdr_adj, lfdr_eps=lfdr_eps
339339
)

0 commit comments

Comments
 (0)