Skip to content

Commit

Permalink
Use the pipeline summary from the schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Apr 14, 2021
1 parent bb32a88 commit 04e34f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ if ((params.cosmic || params.cosmic_celllines) && (params.cosmic_user_name=="" |
//---------------------- Nextflow specifics --------------------- //
//--------------------------------------------------------------- //

////////////////////////////////////////////////////
/* -- PRINT PARAMETER SUMMARY -- */
////////////////////////////////////////////////////
log.info NfcoreSchema.params_summary_log(workflow, params, json_schema)

// Header log info
def summary = [:]
Expand All @@ -96,8 +100,6 @@ if (params.email || params.email_on_fail) {
summary['E-mail Address'] = params.email
summary['E-mail on failure'] = params.email_on_fail
}
log.info summary.collect { k,v -> "${k.padRight(18)}: $v" }.join("\n")
log.info "-\033[2m--------------------------------------------------\033[0m-"

// Check the hostnames against configured profiles
checkHostname()
Expand Down

0 comments on commit 04e34f0

Please sign in to comment.