From af6eb087b0a048ed2b02978725c64b9685e2c8de Mon Sep 17 00:00:00 2001 From: Witold Wolski Date: Tue, 24 Sep 2024 10:44:15 +0200 Subject: [PATCH] change structure of for loop in estimate_intensity to simplify debugging --- R/tidyMS_aggregation.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/tidyMS_aggregation.R b/R/tidyMS_aggregation.R index 7343997c..97133b80 100644 --- a/R/tidyMS_aggregation.R +++ b/R/tidyMS_aggregation.R @@ -592,6 +592,7 @@ estimate_intensity <- function(data, config, .func) aggr <- .func(xnested$data[[i]], config) res[[i]] <- .reestablish_condition(xnested$data[[i]], aggr , config) } + return(res) } res <- loopOverNested(xnested, .func = .func , config = config)