Skip to content

Commit

Permalink
updated install instructions to run from the augur directory
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmloureiro committed Jul 1, 2024
1 parent 72db953 commit d95d451
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@ Because Augur depends upon Firecrown, and Firecrown requires installation using
# clone the Augur repository
git clone [email protected]:LSSTDESC/augur.git

cd augur

# conda env update, when run as suggested, is able to create a new environment, as
# well as updating an existing environment.
conda env update -f augur/environment.yml
conda env update -f environment.yml
conda activate forecasting

# The following line loads the firecrown module from the environment, and queries
Expand All @@ -90,7 +92,7 @@ FIRECROWN_DIR=$(python -c "import firecrown; print('/'.join(firecrown.__spec__.s

# We define some environment variables that will be defined whenever you activate
# the conda environment.
conda env config vars set AUGUR_DIR=${PWD}/augur CSL_DIR=${CONDA_PREFIX}/cosmosis-standard-library FIRECROWN_DIR=${FIRECROWN_DIR}
conda env config vars set AUGUR_DIR=${PWD} CSL_DIR=${CONDA_PREFIX}/cosmosis-standard-library FIRECROWN_DIR=${FIRECROWN_DIR}
# The command above does not immediately define the environment variables.
# They are made available on every fresh activation of the environment.
# So we have to deactivate and then reactivate...
Expand Down

0 comments on commit d95d451

Please sign in to comment.