Skip to content
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

Update utils-nfcore-pipeline: add multiqc report to completion email #4892

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

mirpedrol
Copy link
Member

Change according to the nf-core pipeline template nf-core/tools#2736

@@ -287,6 +287,24 @@ def completionEmail(summary_params, email, email_on_fail, plaintext_email, outdi
email_fields['projectDir'] = workflow.projectDir
email_fields['summary'] = summary << misc_fields

// On success try attach the multiqc report
def mqc_report = null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def mqc_report = null
def mqc_report = []

So it's the same type as the multiqc_report parameter

@mirpedrol
Copy link
Member Author

Moved attaching the mutiqc report to a separate function with fa89e99.
I have tested that the value of mqc_report is a file path when we use multiqc. In cases where we don't use multiqc we can pass null instead of the output channel.

@mirpedrol mirpedrol added this pull request to the merge queue Feb 12, 2024
Merged via the queue into nf-core:master with commit 262b17e Feb 12, 2024
14 checks passed
@mirpedrol mirpedrol deleted the update-utils-nfcore-pipeline branch February 12, 2024 14:38
jch-13 pushed a commit to jch-13/modules that referenced this pull request Mar 19, 2024
…f-core#4892)

* add multiqc report to completion email

* move attaching multiqc report to a separate function
jennylsmith pushed a commit to RSC-RP/modules that referenced this pull request Mar 20, 2024
…f-core#4892)

* add multiqc report to completion email

* move attaching multiqc report to a separate function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants