Skip to content

Commit

Permalink
switch docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jul 9, 2024
1 parent 00fce32 commit 47c97b8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ jobs:
runs-on: ubuntu-latest
needs: [docker-run]
steps:
- name: Restore docker image
uses: actions/download-artifact@v4
with:
name: docker
path: ${{ env.IMAGE }}

- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Restore docker image
uses: actions/download-artifact@v4
with:
name: docker
path: ${{ env.IMAGE }}

- name: Load image
run: docker load -i ${{ env.IMAGE }}/image.tar

Expand Down
10 changes: 5 additions & 5 deletions demos/openneuro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ data_ds000001:
mkdir -p inputs
cd inputs && datalad install ///openneuro/ds000001
cd inputs && datalad install ///openneuro-derivatives/ds000001-fmriprep
cd inputs/ds000001 && datalad get sub-0[1-3] -J 3
cd inputs/ds000001-fmriprep && datalad get sub-0[1-3]/func/*tsv -J 12
cd inputs/ds000001-fmriprep && datalad get sub-0[1-3]/func/*json -J 12
cd inputs/ds000001-fmriprep && datalad get sub-0[1-3]/anat/*MNI*desc-preproc*.nii.gz -J 12
cd inputs/ds000001-fmriprep && datalad get sub-0[1-3]/func/*MNI*desc-preproc*.nii.gz -J 12
cd inputs/ds000001 && datalad get sub-0[1-5] -J 3
cd inputs/ds000001-fmriprep && datalad get sub-0[1-5]/func/*tsv -J 12
cd inputs/ds000001-fmriprep && datalad get sub-0[1-5]/func/*json -J 12
cd inputs/ds000001-fmriprep && datalad get sub-0[1-5]/anat/*MNI*desc-preproc*.nii.gz -J 12
cd inputs/ds000001-fmriprep && datalad get sub-0[1-5]/func/*MNI*desc-preproc*.nii.gz -J 12
cd inputs/ds000001-fmriprep && datalad get sub-0[1-3]/func/*MNI*desc-*bold.nii.gz -J 12

data_ds000114:
Expand Down
2 changes: 1 addition & 1 deletion demos/openneuro/ds000001_aroma_run.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
fmriprep_dir = fullfile(root_dir, 'inputs', 'ds000001-fmriprep');
output_dir = fullfile(root_dir, 'outputs', 'ds000001', 'derivatives');

participant_label = {'01', '02', '03', '04', '05'};
participant_label = {'01', '02', '03'};
task = {'balloonanalogrisktask'};
space = {'MNI152NLin6Asym'};

Expand Down
2 changes: 1 addition & 1 deletion demos/openneuro/ds000001_smooth_run.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
fmriprep_dir = fullfile(root_dir, 'inputs', 'ds000001-fmriprep');
output_dir = fullfile(root_dir, 'outputs', 'ds000001', 'derivatives');

participant_label = {'01', '02', '03', '04', '05'};
participant_label = {'01', '02', '03'};
task = {'balloonanalogrisktask'};
space = {'MNI152NLin2009cAsym'};

Expand Down

0 comments on commit 47c97b8

Please sign in to comment.