Skip to content

Commit

Permalink
Merge pull request #343 from nf-core/maxulysse-patch-1
Browse files Browse the repository at this point in the history
Support pipeline-specific configs
  • Loading branch information
sateeshperi authored Sep 21, 2023
2 parents 89b0aa4 + 1737eda commit c5bbf8e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,12 @@ try {

// Load nf-core/methylseq custom profiles from different institutions.
// Warning: Uncomment only if a pipeline-specific instititutional config already exists on nf-core/configs!
// try {
// includeConfig "${params.custom_config_base}/pipeline/methylseq.config"
// } catch (Exception e) {
// System.err.println("WARNING: Could not load nf-core/config/methylseq profiles: ${params.custom_config_base}/pipeline/methylseq.config")
// }
try {
includeConfig "${params.custom_config_base}/pipeline/methylseq.config"
} catch (Exception e) {
System.err.println("WARNING: Could not load nf-core/config/methylseq profiles: ${params.custom_config_base}/pipeline/methylseq.config")
}

profiles {
debug {
dumpHashes = true
Expand Down

0 comments on commit c5bbf8e

Please sign in to comment.