mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +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
|
||||
}
|
||||
|
||||
if("$PROFILE" == "docker") {
|
||||
docker.enabled = true
|
||||
docker.runOptions = '-u \$(id -u):\$(id -g)'
|
||||
} else if ("$PROFILE" == "singularity") {
|
||||
if ("$PROFILE" == "singularity") {
|
||||
singularity.enabled = true
|
||||
singularity.autoMounts = true
|
||||
singularity.runOptions = '-B /tmp/'
|
||||
} else if ("$PROFILE" == "conda") {
|
||||
params.enable_conda = true
|
||||
} else {
|
||||
docker.enabled = true
|
||||
docker.runOptions = '-u \$(id -u):\$(id -g)'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue