Skip to content

Commit

Permalink
Remove completion handler + add emits
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed May 18, 2024
1 parent fe97300 commit 27ff768
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,3 @@ workflow {
MULTIQC( RNASEQ.out, params.multiqc )
}

/*
* completion handler
*/
workflow.onComplete {
log.info ( workflow.success ? "\nDone! Open the following report in your browser --> $params.outdir/multiqc_report.html\n" : "Oops .. something went wrong" )
}
2 changes: 1 addition & 1 deletion modules/fastqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ process FASTQC {
tuple val(sample_id), path(reads)

output:
path "fastqc_${sample_id}_logs"
path "fastqc_${sample_id}_logs", emit: logs

script:
"""
Expand Down
2 changes: 1 addition & 1 deletion modules/multiqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ process MULTIQC {
path(config)

output:
path('multiqc_report.html')
path('multiqc_report.html'), emit: report

script:
"""
Expand Down

0 comments on commit 27ff768

Please sign in to comment.