Skip to content
Snippets Groups Projects
Verified Commit aaec95a6 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

multiqc: better handling of List as input

parent b87a994a
No related branches found
No related tags found
No related merge requests found
......@@ -31,14 +31,19 @@ workflow multiqc {
main:
report
.map{it ->
if (it.size() > 1){
it[1]
if (it instanceof List){
if(it.size() > 1) {
it[1]
} else {
it[0]
}
} else {
it
}
}
.flatten()
.view()
.unique()
.flatten()
.set { report_cleaned }
multiqc_default(report_cleaned.collect())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment