From 50a19aa7d58e8fba76f6cda541353a808f689e73 Mon Sep 17 00:00:00 2001 From: Arthur Loureiro Date: Tue, 2 Jul 2024 16:54:34 +0200 Subject: [PATCH] fixed inconsistency in the readme --- README.md | 20 ++++++++++++-------- environment.yml | 2 +- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a387b8b..f9d7cac 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ First clone and enter the `augur` repository: ```bash git clone git@github.com:LSSTDESC/augur.git cd augur +# set the variable AUGUR_DIR to the current directory +AUGUR_DIR=${PWD} ``` ### Create a new conda environment @@ -43,6 +45,16 @@ conda env update --name my_env --file=environment.yml --prune ``` and activate your environment with `conda activate [my_env/forecasting]`. +### Cosmosis setup +Now we need to build the cosmosis standard library: +```bash +source ${CONDA_PREFIX}/bin/cosmosis-configure +cd ${CONDA_PREFIX} +cosmosis-build-standard-library +# go back to the augur directory +cd ${AUGUR_DIR} +``` + ### Configure paths necessary for Augur We need to let augur know about the location of Firecrown, to do that, run the following command: ```bash @@ -58,14 +70,6 @@ conda deactivate conda activate forecasting ``` -### Cosmosis setup -Now we need to build the cosmosis standard library: -```bash -source ${CONDA_PREFIX}/bin/cosmosis-configure -cd ${CONDA_PREFIX} -cosmosis-build-standard-library -``` - ### Finally install augur ```bash cd ${AUGUR_DIR} diff --git a/environment.yml b/environment.yml index 440609d..d5702c8 100644 --- a/environment.yml +++ b/environment.yml @@ -10,4 +10,4 @@ dependencies: - numdifftools - numpydoc - qp-prob - - tjpcov + - tjpcov \ No newline at end of file