Skip to content

Commit

Permalink
Update setup_container.nf
Browse files Browse the repository at this point in the history
  • Loading branch information
replikation authored Sep 10, 2020
1 parent 9b2c412 commit 3a30170
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/setup_container.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ process setup_container {
else if (workflow.profile.contains('singularity'))
"""
if [[ ${params.cachedir} = /* ]] ; then
mkdir -p ${params.cachedir}
download_singularity.sh ${config_file} ${params.cachedir}
else
mkdir -p ${workflow.launchDir}/${params.cachedir}
download_singularity.sh ${config_file} ${workflow.launchDir}/${params.cachedir}
fi
Expand Down

0 comments on commit 3a30170

Please sign in to comment.