You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,23 @@ All code used to generate the figures in this study and all relevant statistics
6
6
7
7
## Running Notebook
8
8
### Conda
9
-
In order to run the notebook, we reccomend first either creating a conda environment using the **environment.yml** file we provide in our dependencies folder. You can create the environment by running the following commands:
9
+
In order to run the notebook, we reccomend first either creating a conda environment using the **environment.yml** file we provide in our dependencies folder. You can create the environment by running the following commands:
10
+
10
11
`conda env create -f environment.yml`
12
+
11
13
Once created, then just use the following command to activate your environement.
14
+
12
15
`conda activate code_availability_env`
16
+
13
17
If you are running the notebook in VSCode, then use the change kernel button to select the code_availability_env as the environment to run the notebook in.
14
18
If you are running the notebook in Jupyter Notebook, then just make sure the environment is activated before running calling jupyter notebook to run the notebook.
15
19
16
20
### Pip
17
-
If you do not want to use conda and have some other preference for environments or rather just don't use environments, you can use the requirements.txt file which will allow you to install all of the dependencies as well via pip:
21
+
If you do not want to use conda and have some other preference for environments or rather just don't use environments, you can use the requirements.txt file which will allow you to
22
+
install all of the dependencies as well via pip:
23
+
18
24
`pip install -r requirements.txt`
25
+
19
26
Once this is done running, the notebook should run
0 commit comments