diff --git a/lib/NfcoreTemplate.groovy b/lib/NfcoreTemplate.groovy index c82b684f..1be7a1b4 100755 --- a/lib/NfcoreTemplate.groovy +++ b/lib/NfcoreTemplate.groovy @@ -37,10 +37,13 @@ class NfcoreTemplate { // public static void warnParamsProvidedInConfig(workflow, log) { if (workflow.configFiles.size() > 1) { - log.warn "[$workflow.manifest.name] Multiple config files detected!\n" + - "Parameters passed via custom config files including the '-c' Nextflow option will be ignored.\n" + - "Please provide pipeline parameters via the '-params-file' Nextflow option instead.\n" + - "Docs: https://nf-co.re/usage/configuration?q=params#custom-configuration-files\n" + log.warn "=============================================================================\n" + + " Multiple config files detected!\n" + + " Please provide pipeline parameters via the CLI or Nextflow '-params-file' option.\n" + + " Custom config files including those provided by the '-c' Nextflow option can be\n" + + " used to provide any configuration except for parameters.\n\n" + + " Docs: https://nf-co.re/usage/configuration#custom-configuration-files\n" + + "===================================================================================" } }