Skip to content

Commit

Permalink
Finish stripping custom_runName
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Apr 14, 2021
1 parent 37b2fd6 commit bb32a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if ((params.cosmic || params.cosmic_celllines) && (params.cosmic_user_name=="" |
// Header log info
def summary = [:]
if (workflow.revision) summary['Pipeline Release'] = workflow.revision
summary['Run Name'] = custom_runName ?: workflow.runName
summary['Run Name'] = workflow.runName
summary['Max Resources'] = "$params.max_memory memory, $params.max_cpus cpus, $params.max_time time per job"
if (workflow.containerEngine) summary['Container'] = "$workflow.containerEngine - $workflow.container"
summary['Output dir'] = params.outdir
Expand Down Expand Up @@ -862,7 +862,7 @@ workflow.onComplete {
}
def email_fields = [:]
email_fields['version'] = workflow.manifest.version
email_fields['runName'] = custom_runName ?: workflow.runName
email_fields['runName'] = workflow.runName
email_fields['success'] = workflow.success
email_fields['dateComplete'] = workflow.complete
email_fields['duration'] = workflow.duration
Expand Down

0 comments on commit bb32a88

Please sign in to comment.