File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,14 +42,19 @@ params {
4242
4343 igenomesIgnore = false
4444 custom_config_version = ' master'
45+ custom_config_base = " https://raw.githubusercontent.com/nf-core/configs/${ params.custom_config_version} "
4546}
4647
4748
4849// Load base.config by default for all pipelines
4950includeConfig ' conf/base.config'
5051
5152// Load nf-core custom profiles from different Institutions
52- includeConfig " https://raw.githubusercontent.com/nf-core/configs/${ params.custom_config_version} /nfcore_custom.config"
53+ try {
54+ includeConfig " ${ params.custom_config_base} /nfcore_custom.config"
55+ } catch (Exception e) {
56+ System . err. println (" WARNING: Could not load nf-core/config profiles: ${ params.custom_config_base} /nfcore_custom.config" )
57+ }
5358
5459profiles {
5560 awsbatch { includeConfig ' conf/awsbatch.config' }
You can’t perform that action at this time.
0 commit comments