Skip to content

Commit

Permalink
Merge pull request #41 from kaitj/maint/mp2rage
Browse files Browse the repository at this point in the history
Remove .bval and .bvec files from anat (mp2rage)
  • Loading branch information
kaitj authored Mar 1, 2024
2 parents 9310e5c + 1144045 commit 8a8d342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tar2bids
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ rm -f $output_dir/*/*_scans.tsv $output_dir/*/*/*_scans.tsv
rm -f $output_dir/*/fmap/*.bval $output_dir/*/*/fmap/*.bval
rm -f $output_dir/*/fmap/*.bvec $output_dir/*/*/fmap/*.bvec

# remove .bval and .bvec files from anat (dcm2niix picking up header suggesting MP2RAGE is diffusion)
rm -f $output_dir/*/anat/*.bval $output_dir/*/*/anat/*.bval
rm -f $output_dir/*/anat/*.bvec $output_dir/*/*/anat/*.bvec

if [ "$do_deface" = "1" ]
then
Expand Down

0 comments on commit 8a8d342

Please sign in to comment.