Skip to content

Commit 6437b3c

Browse files
committed
TST: Download dMRI covariance notebook data from OSF
Download dMRI covariance notebook data from OSF instead of using G-Node GIN: the latter is orders of magnitude slower, which is inconvenient to test the notebook. The data has been previously uploaded to OSF. Install the `osfclient` in order to effectively download the data.
1 parent f4fd8be commit 6437b3c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/notebooks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ jobs:
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343

44-
- name: Download data file from G-Node GIN
44+
- name: Download data file from OSF
4545
run: |
4646
mkdir ${TEST_DATA_HOME}
47-
curl -L -o "${TEST_DATA_HOME}/hcpdata.npz" https://gin.g-node.org/nipreps-data/tests-nifreeze/src/master/hcpdata.npz
47+
pip install osfclient
48+
osf -p 39k4x fetch hcpdata.npz "${TEST_DATA_HOME}/hcpdata.npz"
4849
4950
- name: Install TeX Live
5051
run: |

0 commit comments

Comments
 (0)