Skip to content

Commit

Permalink
pythonpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
jurjen93 committed Feb 2, 2024
1 parent 4e94ebb commit 377f287
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions toil_examples/source_selection.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

#NOTE: WORKS ONLY FROM TOIL>6.0.0
#NOTE: works only with TOIL>6.0.0

#### UPDATE THESE ####

Expand All @@ -27,13 +27,13 @@ if [[ "$CONTAINERSTR" == *"apptainer"* ]]; then
export APPTAINER_TMPDIR=$APPTAINER_CACHEDIR/tmp
export APPTAINER_PULLDIR=$APPTAINER_CACHEDIR/pull
export APPTAINER_BIND=$SING_BIND
export APPTAINERENV_PYTHONPATH='$VLBI_SCRIPTS:$PYTHONPATH'
export APPTAINERENV_PYTHONPATH='${VLBI_SCRIPTS}:$PYTHONPATH'
else
export SINGULARITY_CACHEDIR=$PWD/singularity
export SINGULARITY_TMPDIR=$SINGULARITY_CACHEDIR/tmp
export SINGULARITY_PULLDIR=$SINGULARITY_CACHEDIR/pull
export SINGULARITY_BIND=$SING_BIND
export SINGULARITYENV_PYTHONPATH='$VLBI_SCRIPTS:$PYTHONPATH'
export SINGULARITYENV_PYTHONPATH='${VLBI_SCRIPTS}:$PYTHONPATH'
fi

export CWL_SINGULARITY_CACHE=$APPTAINER_CACHEDIR
Expand Down

0 comments on commit 377f287

Please sign in to comment.