Skip to content

Commit 27ff768

Browse files
committed
Remove completion handler + add emits
Signed-off-by: Paolo Di Tommaso <[email protected]>
1 parent fe97300 commit 27ff768

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

main.nf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,3 @@ workflow {
5656
MULTIQC( RNASEQ.out, params.multiqc )
5757
}
5858

59-
/*
60-
* completion handler
61-
*/
62-
workflow.onComplete {
63-
log.info ( workflow.success ? "\nDone! Open the following report in your browser --> $params.outdir/multiqc_report.html\n" : "Oops .. something went wrong" )
64-
}

modules/fastqc/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ process FASTQC {
99
tuple val(sample_id), path(reads)
1010

1111
output:
12-
path "fastqc_${sample_id}_logs"
12+
path "fastqc_${sample_id}_logs", emit: logs
1313

1414
script:
1515
"""

modules/multiqc/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ process MULTIQC {
99
path(config)
1010

1111
output:
12-
path('multiqc_report.html')
12+
path('multiqc_report.html'), emit: report
1313

1414
script:
1515
"""

0 commit comments

Comments
 (0)