Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jlopez
sagJL
Commits
70f43c29
Commit
70f43c29
authored
Dec 02, 2019
by
mmassaviol
Browse files
Debug condition "rerun"
parent
14b33c88
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.R
View file @
70f43c29
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment