Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create helper environment via mamba #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/includes/Databases
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [[ $PATH != *${HELPER_NAME}* ]]; then # If helper env is not in your path (i.

if ! conda activate "${HELPER_NAME}"; then # If exit statement is not 0, i.e. helper conda env hasn't been installed yet, do...
echo -e "\tInstalling Jovian helper environment..."
conda env create -f ${PATH_JOVIAN_HELPER_YAML} # Create the env from the specified yaml file
mamba env create -f ${PATH_JOVIAN_HELPER_YAML} # Create the env from the specified yaml file
set -o allexport
conda activate "${HELPER_NAME}"
set +o allexport
Expand All @@ -24,4 +24,4 @@ bash bin/includes/Databases_installer
# The rest of the code is performed in the helper env, not in the master env.
conda deactivate
# conda deactivate # if you need to go back to the master_env. N.B. Wrap this command with set +u and set -u when working in strict bash mode.
echo -e "DONE"
echo -e "DONE"