Skip to content

Commit

Permalink
fixed a bug reported at issue #47
Browse files Browse the repository at this point in the history
  • Loading branch information
chunyuma authored Oct 24, 2023
1 parent 784ab89 commit af921ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ if [ $check -eq 1 ]; then
echo "The environment '$ENV_NAME' already exists. Please activate it by running 'conda activate $ENV_NAME'."
else
conda env create -f env/yacht_env.yml
check=$(conda env list | cut -d" " -f 1 | grep -w $ENV_NAME | wc -l)

if [ $check -eq 1 ]; then
echo "The environment '$ENV_NAME' has been successfully created and please activate it by running 'conda activate $ENV_NAME'."
else
echo "There was a problem creating the environment '$ENV_NAME'. Please check the error messages above."
fi
fi
fi

0 comments on commit af921ad

Please sign in to comment.