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

mutliqc.nf: fix flatten procedure

parent f8dba601
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ multiqc(
report_b,
report_c,
report_d
).collect()
)
)
*/
......@@ -29,8 +29,9 @@ workflow multiqc {
take:
report
main:
report.map{
if (it instanceof List){
report
.map{it ->
if (it.size() > 1){
it[1]
} else {
it
......@@ -38,6 +39,7 @@ workflow multiqc {
}
.flatten()
.unique()
.view()
.set { report_cleaned }
multiqc_default(report_cleaned.collect())
......
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