@@ -211,11 +211,25 @@ jobs:
211211 printf "[execution]\nstop_on_first_crash = true\n" > /tmp/bcp/nipype.cfg
212212 echo "poll_sleep_duration = 0.01" >> /tmp/bcp/nipype.cfg
213213 echo "hash_method = content" >> /tmp/bcp/nipype.cfg
214+ - run :
215+ name : Get intermediate transforms
216+ command : |
217+ mkdir -p /tmp/pooch
218+ cd /tmp/pooch
219+ # Caching intermediate templates so no need to constantly fetch
220+ XFM="from-MNI152NLin6Asym_to-MNIInfant+1_xfm.h5"
221+ echo "Downloading $XFM"
222+ curl -Lo "$XFM" https://osf.io/download/kx7ny
223+ XFM="from-MNIInfant+1_to-MNI152NLin6Asym_xfm.h5"
224+ echo "Downloading $XFM"
225+ curl -Lo "$XFM" https://osf.io/download/7ge2b
226+
214227 - persist_to_workspace :
215228 root : /tmp
216229 paths :
217230 - fslicense
218231 - bcp/nipype.cfg
232+ - pooch/*
219233
220234 test_pytest :
221235 !!merge <<: *machine_defaults
@@ -334,7 +348,8 @@ jobs:
334348 --nthreads 4 -vv --age-months 2 --sloppy \
335349 --surface-recon-method infantfs \
336350 --derivatives precomputed=/tmp/data/${DATASET}/derivatives/bibsnet \
337- --output-layout bids --anat-only
351+ --output-layout bids --anat-only \
352+ --pooch-cache-dir /tmp/pooch
338353 - run :
339354 name : Checking outputs of anatomical nibabies run
340355 command : |
@@ -360,10 +375,11 @@ jobs:
360375 --skull-strip-template UNCInfant:cohort-1 \
361376 --output-spaces MNIInfant:cohort-1 func \
362377 --sloppy --write-graph --mem-mb 14000 \
363- --nthreads 4 -vv --age-months 2 --sloppy \
378+ --nthreads 4 -vv --age-months 2 \
364379 --surface-recon-method infantfs \
365380 --derivatives precomputed=/tmp/data/${DATASET}/derivatives/bibsnet \
366- --output-layout bids
381+ --output-layout bids \
382+ --pooch-cache-dir /tmp/pooch
367383 - run :
368384 name : Checking outputs of full nibabies run
369385 command : |
@@ -393,7 +409,7 @@ jobs:
393409 cp -r /tmp/data/${DATASET}/derivatives/bibsnet /tmp/data/${DATASET}-t2only/derivatives
394410
395411 - run :
396- name : Run nibabies single anatomical workflow
412+ name : Run nibabies single anatomical workflow (T2w only)
397413 no_output_timeout : 1h
398414 command : |
399415 mkdir -p /tmp/data/${DATASET}-t2only /tmp/${DATASET}/derivatives/nibabies-t2only /tmp/${DATASET}/work-t2only
@@ -406,10 +422,11 @@ jobs:
406422 --skull-strip-template UNCInfant:cohort-1 \
407423 --output-spaces MNIInfant:cohort-1 func \
408424 --sloppy --write-graph --mem-mb 14000 \
409- --nthreads 4 -vv --age-months 2 --sloppy \
425+ --nthreads 4 -vv --age-months 2 \
410426 --surface-recon-method infantfs \
411427 --derivatives precomputed=/tmp/data/${DATASET}-t2only/derivatives/bibsnet \
412- --output-layout bids --anat-only --cifti-output
428+ --output-layout bids --anat-only --cifti-output \
429+ --pooch-cache-dir /tmp/pooch
413430 - run :
414431 name : Checking outputs of T2-only nibabies anat
415432 command : |
0 commit comments