@@ -211,11 +211,25 @@ jobs:
211
211
printf "[execution]\nstop_on_first_crash = true\n" > /tmp/bcp/nipype.cfg
212
212
echo "poll_sleep_duration = 0.01" >> /tmp/bcp/nipype.cfg
213
213
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
+
214
227
- persist_to_workspace :
215
228
root : /tmp
216
229
paths :
217
230
- fslicense
218
231
- bcp/nipype.cfg
232
+ - pooch/*
219
233
220
234
test_pytest :
221
235
!!merge <<: *machine_defaults
@@ -334,7 +348,8 @@ jobs:
334
348
--nthreads 4 -vv --age-months 2 --sloppy \
335
349
--surface-recon-method infantfs \
336
350
--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
338
353
- run :
339
354
name : Checking outputs of anatomical nibabies run
340
355
command : |
@@ -360,10 +375,11 @@ jobs:
360
375
--skull-strip-template UNCInfant:cohort-1 \
361
376
--output-spaces MNIInfant:cohort-1 func \
362
377
--sloppy --write-graph --mem-mb 14000 \
363
- --nthreads 4 -vv --age-months 2 --sloppy \
378
+ --nthreads 4 -vv --age-months 2 \
364
379
--surface-recon-method infantfs \
365
380
--derivatives precomputed=/tmp/data/${DATASET}/derivatives/bibsnet \
366
- --output-layout bids
381
+ --output-layout bids \
382
+ --pooch-cache-dir /tmp/pooch
367
383
- run :
368
384
name : Checking outputs of full nibabies run
369
385
command : |
@@ -393,7 +409,7 @@ jobs:
393
409
cp -r /tmp/data/${DATASET}/derivatives/bibsnet /tmp/data/${DATASET}-t2only/derivatives
394
410
395
411
- run :
396
- name : Run nibabies single anatomical workflow
412
+ name : Run nibabies single anatomical workflow (T2w only)
397
413
no_output_timeout : 1h
398
414
command : |
399
415
mkdir -p /tmp/data/${DATASET}-t2only /tmp/${DATASET}/derivatives/nibabies-t2only /tmp/${DATASET}/work-t2only
@@ -406,10 +422,11 @@ jobs:
406
422
--skull-strip-template UNCInfant:cohort-1 \
407
423
--output-spaces MNIInfant:cohort-1 func \
408
424
--sloppy --write-graph --mem-mb 14000 \
409
- --nthreads 4 -vv --age-months 2 --sloppy \
425
+ --nthreads 4 -vv --age-months 2 \
410
426
--surface-recon-method infantfs \
411
427
--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
413
430
- run :
414
431
name : Checking outputs of T2-only nibabies anat
415
432
command : |
0 commit comments