Skip to content

Commit

Permalink
fixed inconsistency in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmloureiro committed Jul 2, 2024
1 parent 2f7cc5b commit 50a19aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ First clone and enter the `augur` repository:
```bash
git clone [email protected]:LSSTDESC/augur.git
cd augur
# set the variable AUGUR_DIR to the current directory
AUGUR_DIR=${PWD}
```

### Create a new conda environment
Expand All @@ -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
Expand All @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dependencies:
- numdifftools
- numpydoc
- qp-prob
- tjpcov
- tjpcov

0 comments on commit 50a19aa

Please sign in to comment.