Commit 4cb06835 authored by Reto Da Forno's avatar Reto Da Forno
Browse files

wrapper updated

parent 081448d6
......@@ -2,19 +2,10 @@
#
# a simple wrapper to activate the conda virtual environment before executing a script
#
# for conda:
# for conda, add the following to .bashrc:
#export PATH=/home/flocklab/conda_venv/bin/python:$PATH
#[[ -f /scratch/flocklab/conda/bin/conda ]] && eval "$(/scratch/flocklab/conda/bin/conda shell.bash hook)"
#conda activate py36
#
# alternatively, add the above to .bashrc:
#source ~/.bashrc
which conda > /dev/null 2>&1
if [ $? -ne 0 ]
then
source ~/.bashrc
else
source ~/pyvenv/bin/activate
fi
source ~/.bashrc
$*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment