Skip to content
Snippets Groups Projects
Commit 1895f4f4 authored by Todor Kondić's avatar Todor Kondić
Browse files

runme: Fix running without arguments.

parent 3389c827
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ if (nthreads > 1L) plan("multisession",workers=nthreads)
library(shinyscreen)
carg = commandArgs(trailingOnly=T)
eo = init(metfrag_db_dir=mf_db_dir)
if (length(carg)>1L) {
if (length(carg)>0L) {
if (carg[[1]]=="app") {
app(envopts=eo,shiny_args=list(launch.browser=F,port=5432))
} else if (carg[[1]]=="serve") {
......
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