Skip to content
Snippets Groups Projects
Unverified Commit 5e05aca4 authored by Todor Kondic's avatar Todor Kondic
Browse files

Create state object earlier

* R/api.R(load_inputs): Move m creation to run already.
parent 56f93b4f
No related branches found
No related tags found
No related merge requests found
......@@ -46,9 +46,7 @@ gen_base_ftab <- function(m) {
}
##' @export
load_inputs <- function(conf) {
m<-list()
m$conf <- conf
load_inputs <- function(m) {
m$input$tab$mzml <- file2tab(m$conf$data)
m$input$tab$known <- if (shiny::isTruthy(m$input$tab$known))
file2tab(m$conf$compounds$known) else EMPTY_KNOWN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment