[f8624c]: / .envrc

Download this file

17 lines (13 with data), 490 Bytes

#!/bin/bash
[ -f .env ] && source .env


export BUCKET="ai-genomics"
export METAFLOW_PROFILE=ds-cookiecutter

# Automatically activate conda environment (if exists)
if [ -f .cookiecutter/state/conda-create ];
then
    # shellcheck disable=SC1091
    [ -n "$CONDA_EXE" ] \
    && . "$(dirname "$(dirname "$CONDA_EXE")")/etc/profile.d/conda.sh" \
    && conda activate "ai_genomics" > /dev/null 2>&1  \
    || echo "WARNING: ai_genomics environment could not be automatically activated.";
fi