Skip to content
Snippets Groups Projects
Commit d19a4dc3 authored by gong1's avatar gong1
Browse files

correct the virtual env path in preprocess_data_era5_step1_template.sh

parent 272570e9
No related branches found
No related tags found
No related merge requests found
Pipeline #91164 failed
...@@ -23,9 +23,9 @@ VIRT_ENV_NAME="my_venv" ...@@ -23,9 +23,9 @@ VIRT_ENV_NAME="my_venv"
# Activate virtual environment if needed (and possible) # Activate virtual environment if needed (and possible)
if [ -z ${VIRTUAL_ENV} ]; then if [ -z ${VIRTUAL_ENV} ]; then
if [[ -f ../${VIRT_ENV_NAME}/bin/activate ]]; then if [[ -f ../virtual_envs/${VIRT_ENV_NAME}/bin/activate ]]; then
echo "Activating virtual environment..." echo "Activating virtual environment..."
source ../${VIRT_ENV_NAME}/bin/activate source ../virtual_envs/${VIRT_ENV_NAME}/bin/activate
else else
echo "ERROR: Requested virtual environment ${VIRT_ENV_NAME} not found..." echo "ERROR: Requested virtual environment ${VIRT_ENV_NAME} not found..."
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment