Skip to content

Commit

Permalink
Merge branch 'master' into validate_options
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerket authored Aug 9, 2019
2 parents 6b89a3f + f805507 commit 7c5f3a8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion create_eagle_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ then
fi

MY_CONDA_ENV_NAME=${@:$OPTIND:1}
if [ -z "$MY_CONDA_ENV_NAME" ]
then
echo "Environment name not provided"
exit 1
fi

MY_CONDA_PREFIX="$CONDA_ENVS_DIR/$MY_CONDA_ENV_NAME"
echo "Creating $MY_CONDA_PREFIX"
module load conda
conda remove -y --prefix "$MY_CONDA_PREFIX" --all
conda create -y --prefix "$MY_CONDA_PREFIX" python=3.7 pandas hdf5
conda create -y --prefix "$MY_CONDA_PREFIX" -c conda-forge "pyarrow>=0.14" python=3.7 pandas dask distributed
source activate "$MY_CONDA_PREFIX"
pip install --upgrade pip
if [ $DEV -eq 1 ]
Expand Down

0 comments on commit 7c5f3a8

Please sign in to comment.