Diff of /.envrc [000000] .. [f8624c]

Switch to side-by-side view

--- a
+++ b/.envrc
@@ -0,0 +1,16 @@
+#!/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