-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated install instructions to run from the augur directory
- Loading branch information
1 parent
72db953
commit d95d451
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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... | ||
|