Skip to content

Instantly share code, notes, and snippets.

@tashrifbillah
Created March 1, 2020 18:30
Show Gist options
  • Save tashrifbillah/e832e030df13ad17ee15cbc78355f80c to your computer and use it in GitHub Desktop.
Save tashrifbillah/e832e030df13ad17ee15cbc78355f80c to your computer and use it in GitHub Desktop.
Help @fedemoro with debug
antsApplyTransforms -d 3 -i /rds/general/user/fmoro/home/bioaxlive/Controls/DTI/London/COB_I078/harm_trial_4/COB_I078_mask.nii.gz \
-o /rds/general/user/fmoro/home/bioaxlive/Controls/DTI/London/COB_I078/harm_trial_4/COB_I078_mask_resampledWarped.nii.gz \
-r /rds/general/user/fmoro/home/template_lau4/template0.nii.gz \
-t /rds/general/user/fmoro/home/template_lau4/COB_I078_FA*[!Inverse]Warp.nii.gz \
-t /rds/general/user/fmoro/home/template_lau4/COB_I078_FA*GenericAffine.mat
# if the above does not work, do
ls /rds/general/user/fmoro/home/template_lau4/COB_I078_FA*[!Inverse]Warp.nii.gz
ls /rds/general/user/fmoro/home/template_lau4/COB_I078_FA*GenericAffine.mat
# and replace the last two lines in the former block with absolute paths obtained from the latter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment