Skip to content

Commit

Permalink
fix: miscellaneous fixes
Browse files Browse the repository at this point in the history
- [x] update HCP's boldref images with brain-extracted versions
- [x] Clear up circle caches to take up the new data
- [x] Minor workflow name change
  • Loading branch information
oesteban committed Aug 9, 2019
1 parent 9713f77 commit ee0f123
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Expand Up @@ -72,9 +72,9 @@ jobs:
steps:
- restore_cache:
keys:
- data-v0-{{ .Branch }}-
- data-v0-master-
- data-v0-
- data-v1-{{ .Branch }}-
- data-v1-master-
- data-v1-
- run:
name: Setup git-annex
command: |
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
echo "crashfile_format = txt" >> /tmp/data/nipype.cfg
- save_cache:
key: data-v0-{{ .Branch }}-{{ .BuildNum }}
key: data-v1-{{ .Branch }}-{{ .BuildNum }}
paths:
- "/opt/circleci/.pyenv/versions/3.5.2"
- /tmp/data
Expand All @@ -150,9 +150,9 @@ jobs:
path: /tmp/src/sdcflows
- restore_cache:
keys:
- workdir-v0-{{ .Branch }}-
- workdir-v0-master-
- workdir-v0-
- workdir-v1-{{ .Branch }}-
- workdir-v1-master-
- workdir-v1-
- run:
name: Load Docker image layer cache
no_output_timeout: 30m
Expand All @@ -175,7 +175,7 @@ jobs:
-v /tmp/data/nipype.cfg:/home/sdcflows/.nipype/nipype.cfg \
-v /tmp/data:/data:ro -v /tmp/src:/src -v /tmp/tests:/out \
-w /work poldracklab/sdcflows:latest \
pytest -n auto -v --junit-xml=/out/pytest.xml /src/sdcflows/sdcflows
pytest -v --junit-xml=/out/pytest.xml /src/sdcflows/sdcflows
- store_artifacts:
path: /tmp/tests
Expand All @@ -184,7 +184,7 @@ jobs:
- store_test_results:
path: /tmp/tests
- save_cache:
key: workdir-v0-{{ .Branch }}-{{ .BuildNum }}
key: workdir-v1-{{ .Branch }}-{{ .BuildNum }}
paths:
- /tmp/work

Expand Down
2 changes: 1 addition & 1 deletion sdcflows/workflows/pepolar.py
Expand Up @@ -115,7 +115,7 @@ def init_pepolar_unwarp_wf(omp_nthreads=1, matched_pe=False,

prepare_epi_wf = init_prepare_epi_wf(omp_nthreads=omp_nthreads,
matched_pe=matched_pe,
name="prepare_epi_opposite_wf")
name="prepare_epi_wf")

qwarp = pe.Node(afni.QwarpPlusMinus(
pblur=[0.05, 0.05], blur=[-1, -1], noweight=True, minpatch=9, nopadWARP=True,
Expand Down
2 changes: 1 addition & 1 deletion sdcflows/workflows/tests/test_pepolar.py
Expand Up @@ -118,7 +118,7 @@ def test_pepolar_wf1(bids_layouts, output_path, dataset, workdir):
if dataset == 'testdata':
bold = layout.get(suffix='bold', dir='LR', direction='LR',
extension=['.nii.gz', '.nii'])[0]
boldref = layout.get(suffix='boldref', dir='LR', direction='LR',
boldref = layout.get(suffix='boldref', dir='LR', direction='LR', desc='brain',
extension=['.nii.gz', '.nii'])[0]
elif dataset == 'ds001600':
bold = layout.get(suffix='bold', acquisition='AP',
Expand Down

0 comments on commit ee0f123

Please sign in to comment.