Skip to content
Snippets Groups Projects
Commit 0fefa6f9 authored by Dorian Lehmenkühler's avatar Dorian Lehmenkühler
Browse files

Wait for input dir to be created before starting the workflow. Closes #6

parent aea5c06e
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,11 @@ workflow {
minknowdir = params.minknowdir
} else {
minknowdir = params.minknowdir + File.separator
}
while (! file(minknowdir).exists()){
println "MinKnow output dir '${minknowdir}' does not exist yet. Checking again in 10 seconds. (Press Ctrl+C three times to cancel)"
sleep(10000)
}
println "Starting workflow with following parameters:"
......
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