Skip to content

Commit

Permalink
Update instructions for venv setup
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Urchs <surchs@users.noreply.github.com>
  • Loading branch information
alyssadai and surchs authored Nov 1, 2023
1 parent a1febb3 commit 4eed7d1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,15 @@ The following scripts are used:
- `parallel_bagel.sh`

### Steps
1. Activate a new Python environment and install the dependencies for this repo with `pip install -r requirements.txt`.
1. (Optional) create a new Python environment with `python -m venv my_env`.
2. Activate your python environment with `source ./my_env/bin/activate`
3. Install the dependencies with `pip install -r requirements.txt`

2. Get the latest version of the `bagel-cli` from Docker Hub: `docker pull neurobagel/bagelcli:latest`
4. Get the latest version of the `bagel-cli` from Docker Hub: `docker pull neurobagel/bagelcli:latest`

3. Create a directory called `inputs` in the repository root that contains all the datasets that will be processed with the CLI.
5. Create a directory called `inputs` in the repository root that contains all the datasets that will be processed with the CLI.

4. To run the CLI in parallel across the datasets in `inputs/`, double check that the directory paths used by `parallel_bagel.sh` and `run_bagel_cli.sh` are correct, then run:
5. To run the CLI in parallel across the datasets in `inputs/`, double check that the directory paths used by `parallel_bagel.sh` and `run_bagel_cli.sh` are correct, then run:
```bash
./parallel_bagel.sh
```

0 comments on commit 4eed7d1

Please sign in to comment.