From 20deaf3b46d10a611a16c5c8f97a84608242240d Mon Sep 17 00:00:00 2001 From: Alexander Peltzer Date: Wed, 6 Mar 2019 12:59:54 +0100 Subject: [PATCH 1/2] Provide fix for online issues --- nfcore_custom.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfcore_custom.config b/nfcore_custom.config index e26116b..70fccd4 100644 --- a/nfcore_custom.config +++ b/nfcore_custom.config @@ -8,7 +8,7 @@ * name here. */ -config_base = "${params.custom_config_base}/conf" +config_base = params.custom_config_base ?: "${params.custom_config_base}/conf" : "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}/conf" profiles { binac { includeConfig "${config_base}/binac.config" } From ad47005fb6463d8c9c7133139560543dd88f4289 Mon Sep 17 00:00:00 2001 From: Sven F Date: Wed, 6 Mar 2019 13:13:52 +0100 Subject: [PATCH 2/2] Update nfcore_custom.config Co-Authored-By: apeltzer --- nfcore_custom.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nfcore_custom.config b/nfcore_custom.config index 70fccd4..db0219a 100644 --- a/nfcore_custom.config +++ b/nfcore_custom.config @@ -8,7 +8,8 @@ * name here. */ -config_base = params.custom_config_base ?: "${params.custom_config_base}/conf" : "https://raw.githubusercontent.com/nf-core/configs/${params.custom_config_version}/conf" +default_uri = "https://raw.githubusercontent.com/nf-core/configs/master/conf" +config_base = "${params.custom_config_base ?: default_uri}" profiles { binac { includeConfig "${config_base}/binac.config" }