-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format file-path-pattern #118
format file-path-pattern #118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a couple of small comments, otherwise looks good :)
} | ||
ArrayList files = Nextflow.file(subject) as ArrayList | ||
ArrayList errors = [] | ||
println("${subject}: ${files.size()}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be removed
if(format) { | ||
if(format == "file-path-pattern") { | ||
def ArrayList inputFiles = Nextflow.file(input) as ArrayList | ||
return inputFiles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These files will be added to the channel in an array if I understood well, we should document this
Fixes #100
Adds a new format type called
file-path-pattern
which will validate every file found using the globbing pattern in the parameter. Support for globs has also been added to the samplesheet converter, which will now create a list with the files fetched using that glob pattern