====================================
 Workflow completion notification
====================================
 Run Name: ${workflow.runName}
<% if( workflow.success && workflow.stats.ignoredCount ) { %>
## Execution completed successfully. One or more tasks reported an error condition ##
<% } else if(workflow.success) { %>
## Execution completed successfully! ##
<% } else { %>
#########################################
## Execution completed unsuccessfully! ##
#########################################
The exit status of the task that caused the workflow execution to fail was: ${workflow.exitStatus != null ? workflow.exitStatus : '-'}.
The full error message was:

${workflow.errorReport ?: 'n/a'}

<% } %>
The command used to launch the workflow was as follows:

  ${workflow.commandLine}

** Execution summary **

  Launch time       : ${SysHelper.fmtDate(workflow.start)}
  Ending time       : ${SysHelper.fmtDate(workflow.complete)} (duration: ${workflow.duration})
  Total CPU-Hours   : ${workflow.stats.computeTimeFmt ?: '-'}
  Tasks stats       : Succeeded ${workflow.stats.succeedCountFmt}; Cached ${workflow.stats.cachedCountFmt}; Ignored ${workflow.stats.ignoredCountFmt}; Failed ${workflow.stats.failedCountFmt}
  Launch directory  : ${workflow.launchDir}
  Work directory    : ${workflow.workDir.toUriString()}
  Project directory : ${workflow.projectDir}
  Script name       : ${workflow.scriptName ?: '-'}
  Script ID         : ${workflow.scriptId ?: '-'}
  Workflow session  : ${workflow.sessionId}
  Workflow repo     : ${workflow.repository ?: '-' }
  Workflow revision : ${workflow.repository ? "$workflow.revision ($workflow.commitId)" : '-'}
  Workflow profile  : ${workflow.profile ?: '-'}
  Workflow container: ${workflow.container ?: '-'}
  Container engine  : ${workflow.containerEngine?:'-'}
  Wave enabled      : ${workflow.wave.enabled}
  Fusion enabled    : ${workflow.fusion.enabled}, version ${workflow.fusion.enabled ? workflow.fusion.version : '-'}
  Nextflow version  : ${workflow.nextflow.version}, build ${workflow.nextflow.build} (${workflow.nextflow.timestamp})

--
This email was sent by Nextflow
cite doi:10.1038/nbt.3820
http://nextflow.io
