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

Observer input$restoreConfB: remove unnecesary conversion

* R/shiny-ui-config.R <input$restoreConfB>: list2rev call removed.
parent f48d84ca
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ server_conf <- function(input,output,session,rv,rf,roots) {
obsrv_e(input$restoreConfB,{
fn <- shinyFiles::parseFilePaths(roots=roots$get,input$restoreConfB)[["datapath"]]
assert(file.exists(fn), msg="The file is unreadable.")
rv$m$conf <- list2rev(read_conf(fn))
rv$m$conf <- read_conf(fn)
for (nm in names(rv$m$conf$compounds)) {
shiny::updateTextInput(session=session,
inputId=nm,
......
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