Skip to content

Commit 4afb817

Browse files
committed
DOC update dependencies
1 parent cad43e1 commit 4afb817

6 files changed

Lines changed: 15 additions & 49 deletions

File tree

README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,9 @@ The package ``voxelwise_tutorials`` has the following dependencies:
6565
- `h5py <https://github.com/h5py/h5py>`_
6666
- `scikit-learn <https://github.com/scikit-learn/scikit-learn>`_
6767
- `matplotlib <https://github.com/matplotlib/matplotlib>`_
68+
- `networkx <https://github.com/networkx/networkx>`_
69+
- `nltk <https://github.com/nltk/nltk>`_
6870
- `pycortex <https://github.com/gallantlab/pycortex>`_
69-
70-
Each tutorial requires additional packages, as listed in their respective
71-
documentations, such as:
72-
73-
- `voxelwise_tutorials <https://github.com/gallantlab/voxelwise_tutorials>`_
74-
(this repository)
7571
- `himalaya <https://github.com/gallantlab/himalaya>`_
7672
- `pymoten <https://github.com/gallantlab/pymoten>`_
7773

doc/voxelwise_package.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ The package ``voxelwise_tutorials`` has the following dependencies:
3838
- `h5py <https://github.com/h5py/h5py>`_
3939
- `scikit-learn <https://github.com/scikit-learn/scikit-learn>`_
4040
- `matplotlib <https://github.com/matplotlib/matplotlib>`_
41+
- `networkx <https://github.com/networkx/networkx>`_
42+
- `nltk <https://github.com/nltk/nltk>`_
4143
- `pycortex <https://github.com/gallantlab/pycortex>`_
42-
43-
Each tutorial requires additional packages, as listed in their respective
44-
documentations, such as:
45-
46-
- `voxelwise_tutorials <https://github.com/gallantlab/voxelwise_tutorials>`_ (this helper package)
4744
- `himalaya <https://github.com/gallantlab/himalaya>`_
4845
- `pymoten <https://github.com/gallantlab/pymoten>`_
4946

setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@
1111
__version__ = match.groups()[0]
1212

1313
requirements = [
14-
"h5py",
15-
"matplotlib",
1614
"numpy",
17-
"pycortex",
1815
"scipy",
16+
"h5py",
1917
"scikit-learn>=0.23",
18+
"matplotlib",
19+
"networkx",
20+
"nltk",
21+
"pycortex",
22+
"himalaya @ git+https://github.com/gallantlab/himalaya@master#egg=himalaya", # noqa
23+
"pymoten @ git+https://github.com/gallantlab/pymoten@master#egg=pymoten",
2024
]
2125

2226
if __name__ == "__main__":

tutorials/movies_3T/README.rst

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,8 @@ the scikit-learn terminology, which is explained in great details in the
3232
**Requirements:**
3333
This tutorial requires the following Python packages:
3434

35-
- voxelwise_tutorials (this repository)
36-
- numpy
37-
- scipy
38-
- h5py
39-
- pycortex
40-
- scikit-learn
41-
- matplotlib
42-
- himalaya
43-
- jupyter (optional, to run examples as notebooks)
44-
- pymoten (optional, for extracting motion energy)
45-
- cupy/pytorch (optional, to use a GPU backend in himalaya)
35+
- voxelwise_tutorials (this repository) and its dependencies
36+
- cupy or pytorch (optional, to use a GPU backend in himalaya)
4637

4738
**References:**
4839

tutorials/movies_4T/README.rst

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,8 @@ publication [5]_, and the CRCNS data set [6]_.
2626
**Requirements:**
2727
This tutorial requires the following Python packages:
2828

29-
- voxelwise_tutorials (this repository)
30-
- numpy
31-
- scipy
32-
- h5py
33-
- pycortex
34-
- scikit-learn
35-
- matplotlib
36-
- himalaya
37-
- pymoten
38-
- jupyter (optional, to run examples as notebooks)
39-
- cupy/pytorch (optional, to use a GPU backend in himalaya)
29+
- voxelwise_tutorials (this repository) and its dependencies
30+
- cupy or pytorch (optional, to use a GPU backend in himalaya)
4031

4132
**References:**
4233

tutorials/notebooks/README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,5 @@ install the `voxelwise_tutorials` package:
1515
pip install .
1616
```
1717

18-
You also need the following dependencies:
19-
20-
- numpy
21-
- scipy
22-
- h5py
23-
- scikit-learn
24-
- jupyter
25-
- matplotlib
26-
- himalaya
27-
- pycortex (optional, for using 3D brain viewers)
28-
- pymoten (optional, for extracting motion energy)
29-
- cupy/pytorch (optional, to use a GPU backend in himalaya)
30-
3118
For more info about how to run jupyter notebooks, see
3219
[the official documentation](https://jupyter-notebook.readthedocs.io/en/stable/).

0 commit comments

Comments
 (0)