Skip to content

Commit f478094

Browse files
committed
Update nextflow.config for custom profiles for different institutions to match template
1 parent deed289 commit f478094

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ profiles {
173173
}
174174

175175
// Load nf-core custom profiles from different Institutions
176-
includeConfig !System.getenv('NXF_OFFLINE') && params.custom_config_base ? "${params.custom_config_base}/nfcore_custom.config" : "/dev/null"
176+
includeConfig params.custom_config_base && (!System.getenv('NXF_OFFLINE') || !params.custom_config_base.startsWith('http')) ? "${params.custom_config_base}/nfcore_custom.config" : "/dev/null"
177177

178178
// Load nf-core/proteinannotator custom profiles from different institutions.
179179
// TODO nf-core: Optionally, you can add a pipeline-specific nf-core config at https://github.com/nf-core/configs

0 commit comments

Comments
 (0)