Skip to content
Snippets Groups Projects
Commit 0abfd107 authored by Jules Sabban's avatar Jules Sabban
Browse files

Add NGL codes in emails and MultiQC

	- Only if exists, of course

	Ref: #95
parent 6bbdee75
No related branches found
No related tags found
1 merge request!19Hot fix and little new feature for ngl tracability
Pipeline #199695 failed
......@@ -18,7 +18,8 @@ The analysis of the following sequencing is running :
- FlowCell : $flowcell
- Lane : $lane
- Directory : $directory
<% if (xpNGLSq){ out << "- NGL-SQ Experiment : $xpNGLSq " } %>
<% if (runNGLBi){ out << "- NGL-Bi RunCode : $runNGLBi " } %>
The command used to launch the workflow was as follows :
......
......@@ -9,6 +9,8 @@
NextFlow Run Name : $runName
Project : $project
Run : $run
<% if (xpNGLSq){ out << "NGL-SQ Experiment : $xpNGLSq " } %>
<% if (runNGLBi){out << "NGL-Bi RunCode : $runNGLBi" } %>
<% if (success){
out << """## GeT-nextflow-NGL-Bi/wf-Illumina-nf execution completed successfully! ##
......
......@@ -106,6 +106,8 @@ def sendBeginMail(formatted_date) {
begin_email_fields['version'] = workflow.manifest.version
begin_email_fields['wfRunName'] = workflow.runName
begin_email_fields['run_name'] = params.run_name
begin_email_fields['runNGLBi'] = (params.bi_run_code ?: '')
begin_email_fields['xpNGLSq'] = (params.sq_xp_code ?: '')
begin_email_fields['project'] = params.project
begin_email_fields['sequencer'] = params.sequencer
begin_email_fields['flowcell'] = params.fc_id
......@@ -148,6 +150,8 @@ def sendFinalMail(formatted_date, summary) {
email_fields['runName'] = workflow.runName
email_fields['project'] = params.project
email_fields['run'] = params.run_name
email_fields['runNGLBi'] = (params.bi_run_code ?: '')
email_fields['xpNGLSq'] = (params.sq_xp_code ?: '')
email_fields['success'] = workflow.success
email_fields['dateComplete'] = formatted_date
email_fields['duration'] = workflow.duration
......
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