diff --git a/R/api.R b/R/api.R index 95b06eee225361ee033a0b3bd3561ba05e0771fc..78d483cb90621527865d133071847659c855e02d 100644 --- a/R/api.R +++ b/R/api.R @@ -15,7 +15,8 @@ ##' @export run <- function(fn_conf) { - m <- new_state(fn_conf=fn_conf, + conf <- read_conf(fn_conf) + m <- new_state(conf=conf, GUI=F) dir.create(m$conf$project, showWarnings = F, @@ -32,6 +33,7 @@ run_in_dir <- function(m) { m <- concurrency(m) m <- mk_comp_tab(m) m <- extr_data(m) + m <- prescreen(m) invisible(m) } diff --git a/R/mix.R b/R/mix.R index 15e8e1a7ab9abe3da6c38e065872070a45f4ab26..b6215c8cd599e7158a7da5db503b60f1c7c60ee2 100644 --- a/R/mix.R +++ b/R/mix.R @@ -710,8 +710,7 @@ read_conf <- function(fn) { } cf$compound$lists <- fnl - - cf + conf_trans(cf) } new_conf <- function() EMPTY_CONF