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

Add reactive function to get compound inputs

* R/shiny-ui-config.R(rf$get_compounds): New reactive function.
parent 65264f41
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,18 @@ react_conf_f <- function(input,output,session,rv,rf) {
message('Relative project path is: ',res)
res
})
rf$get_compounds <- react_f({
## Consult the input text boxes for any files, then load the
## compound tables.
rv$conf$compounds <- shiny::reactiveValues(known=input$known,
unknown=input$unknown,
sets=input$sets)
rv <- load_compound_input(rv)
rv$input$tab <- lst2rv_lst(rv$input$tab)
rv
})
rf
}
......
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