mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
test: Fix profile logic order
This commit is contained in:
parent
67deb0d47a
commit
72b4fb35aa
1 changed files with 4 additions and 4 deletions
|
@ -5,13 +5,13 @@ params {
|
||||||
singularity_pull_docker_container = false
|
singularity_pull_docker_container = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if("$PROFILE" == "docker") {
|
if ("$PROFILE" == "singularity") {
|
||||||
docker.enabled = true
|
|
||||||
docker.runOptions = '-u \$(id -u):\$(id -g)'
|
|
||||||
} else if ("$PROFILE" == "singularity") {
|
|
||||||
singularity.enabled = true
|
singularity.enabled = true
|
||||||
singularity.autoMounts = true
|
singularity.autoMounts = true
|
||||||
singularity.runOptions = '-B /tmp/'
|
singularity.runOptions = '-B /tmp/'
|
||||||
} else if ("$PROFILE" == "conda") {
|
} else if ("$PROFILE" == "conda") {
|
||||||
params.enable_conda = true
|
params.enable_conda = true
|
||||||
|
} else {
|
||||||
|
docker.enabled = true
|
||||||
|
docker.runOptions = '-u \$(id -u):\$(id -g)'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue