Commit 70f43c29 authored by mmassaviol's avatar mmassaviol
Browse files

Debug condition "rerun"

parent 14b33c88
......@@ -677,7 +677,7 @@ generate_pages_server <- function() {
# RUN
res <- res + '\t\tforce = force_rule(input$force_from)\n'
res <- res + '\t\trerun = input$rerun_incomplete ? "--rerun-incomplete" : ""\n'
res <- res + '\t\trerun = if (input$rerun_incomplete) "--rerun-incomplete" else ""\n'
res <- res + '\t\tsystem2("python3",paste0("-u -m snakemake -s /workflow/Snakefile --configfile ", paste0(input$results_dir,"/params.yml") ,\t" -d ", input$results_dir ,\t" --cores ", input$cores, " all ", force, " ",rerun),wait = FALSE, stdout = paste0(input$results_dir,"/logs/runlog.txt"), stderr = paste0(input$results_dir,"/logs/runlog.txt"))\n'
res <- res + '\t\ttags$iframe(src="results/multiqc_report.html",width="100%", height="900px")},\n'
res <- res + '\t\terror = function(e){\n'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment