Skip to content

Commit

Permalink
CI: Rename derivatives to T2w space
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Nov 9, 2023
1 parent 1533815 commit c8e1306
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,13 @@ jobs:
cp -r /tmp/data/${DATASET}/sub-01 /tmp/data/${DATASET}-t2only/sub-01
rm -f /tmp/data/${DATASET}-t2only/sub-01/ses-1mo/anat/*_T1w.*
tree /tmp/data/${DATASET}-t2only
mkdir -p /tmp/data/${DATASET}-t2only/derivatives
cp -r /tmp/data/${DATASET}/derivatives/precomputed /tmp/data/${DATASET}-t2only/derivatives
# rename the derivatives for now - this is only possible since they share the same space
sudo apt install rename
rename 's/space-T1w/space-T2w/' /tmp/data/${DATASET}-t2only/derivatives/precomputed/sub-01/ses-1mo/anat/*
tree /tmp/data/${DATASET}-t2only/derivatives/precomputed
- run:
name: Run nibabies single anatomical workflow
no_output_timeout: 1h
Expand All @@ -420,7 +427,7 @@ jobs:
--output-spaces MNIInfant:cohort-1 func \
--sloppy --write-graph --mem-mb 14000 \
--nthreads 4 -vv --age-months 2 --sloppy \
--derivatives /tmp/data/${DATASET}/derivatives/precomputed \
--derivatives /tmp/data/${DATASET}-t2only/derivatives/precomputed \
--output-layout bids --anat-only
- run:
name: Checking outputs of T2-only nibabies anat
Expand Down

0 comments on commit c8e1306

Please sign in to comment.