Skip to content

Commit

Permalink
change dotkit providing python-yaml
Browse files Browse the repository at this point in the history
change dotkit providing python-yaml to one available on all UGER hosts, including the newer RedHat7 nodes which lack Python-3.4 but have .anaconda3-5.0.1
  • Loading branch information
tomkinsc committed Oct 24, 2018
1 parent fbf6003 commit 8fa2cb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipes/Broad_UGER/jobscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

source /broad/software/scripts/useuse
use UGER
use Python-3.4
use .anaconda3-5.0.1
CONDAENVDIR=`python -c 'import yaml; import os; f=open("config.yaml");print(os.path.realpath(yaml.safe_load(f)["conda_env_dir"]));f.close()'`
MINICONDADIR=`python -c 'import yaml; import os; f=open("config.yaml");print(os.path.realpath(yaml.safe_load(f)["miniconda_dir"]));f.close()'`
BINDIR=`python -c 'import yaml; import os; f=open("config.yaml");print(os.path.realpath(yaml.safe_load(f)["bin_dir"]));f.close()'`
DATADIR=`python -c 'import yaml; import os; f=open("config.yaml");print(os.path.realpath(yaml.safe_load(f)["data_dir"]));f.close()'`
unuse Python-3.4
unuse .anaconda3-5.0.1

export PATH="$MINICONDADIR/bin:$PATH"

Expand Down

0 comments on commit 8fa2cb3

Please sign in to comment.