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

output$mzMLtabCtrl render: Updated.

* R/shiny-ui-config.R <mzMLtabCtrl>: Updated. Works together with the
  new, updated data files observers.
parent bfbb806b
No related branches found
No related tags found
No related merge requests found
......@@ -314,14 +314,14 @@ server_conf <- function(input,output,session,rv,rf,roots) {
})
output$mzMLtabCtrl <- rhandsontable::renderRHandsontable({
assert(rv$m$input$tab$setid, msg = "Compounds set table not built yet.")
tags <- unique(rf$get_tags_from_txt())
mzml <- rv$m$input$tab$mzml
message("mzml: ----")
print(mzml)
message("---- mzml")
all_sets <- unique(rv$m$input$tab$setid$set)
rhandsontable::rhandsontable(mzml2disp(mzml, sets = all_sets, tags = tags),stretchH="all")
df <- rv$work_mzml
if (!shiny::isTruthy(df)) {
assert(rv$m$input$tab$setid, msg = "Compounds set table not built yet.")
all_sets <- unique(rv$m$input$tab$setid$set)
txt_tags <- rf$get_tags_from_txt()
df <- mzml2disp(EMPTY_MZML, sets = all_sets, tags = txt_tags)
}
rhandsontable::rhandsontable(df,stretchH="all")
})
rv
......
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