Commit 91648746 authored by David Trudgian's avatar David Trudgian

Support multiple inputs using glob pattern

parent 179234e6
......@@ -14,7 +14,10 @@
// Note - $baseDir is the location of this workflow file main.nf
params.story = "$baseDir/../test_data/mobydick.txt"
stories = Channel.fromPath(params.story)
// To accept multiple filenames, separated with commas, we use a glob pattern
// in curly brackets.
stories = Channel.fromPath( "{" + params.story + ",}" )
process uppercase {
......
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