File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -405,6 +405,14 @@ jobs:
405
405
cp -r /tmp/data/${DATASET}/sub-01 /tmp/data/${DATASET}-t2only/sub-01
406
406
rm -f /tmp/data/${DATASET}-t2only/sub-01/ses-1mo/anat/*_T1w.*
407
407
tree /tmp/data/${DATASET}-t2only
408
+ mkdir -p /tmp/data/${DATASET}-t2only/derivatives
409
+ cp -r /tmp/data/${DATASET}/derivatives/precomputed /tmp/data/${DATASET}-t2only/derivatives
410
+ # rename the derivatives for now - this is only possible since they share the same space
411
+ sudo apt install rename
412
+ rename 's/space-T1w/space-T2w/' /tmp/data/${DATASET}-t2only/derivatives/precomputed/sub-01/ses-1mo/anat/*
413
+ sed -i 's/_T1w./_T2w./g' /tmp/data/${DATASET}-t2only/derivatives/precomputed/sub-01/ses-1mo/anat/*json
414
+ tree /tmp/data/${DATASET}-t2only/derivatives/precomputed
415
+
408
416
- run :
409
417
name : Run nibabies single anatomical workflow
410
418
no_output_timeout : 1h
@@ -420,7 +428,7 @@ jobs:
420
428
--output-spaces MNIInfant:cohort-1 func \
421
429
--sloppy --write-graph --mem-mb 14000 \
422
430
--nthreads 4 -vv --age-months 2 --sloppy \
423
- --derivatives /tmp/data/${DATASET}/derivatives/precomputed \
431
+ --derivatives /tmp/data/${DATASET}-t2only /derivatives/precomputed \
424
432
--output-layout bids --anat-only
425
433
- run :
426
434
name : Checking outputs of T2-only nibabies anat
You can’t perform that action at this time.
0 commit comments