Skip to content

Commit

Permalink
Merge pull request #32 from khanlab/fixROI
Browse files Browse the repository at this point in the history
fix for removing ROI*.nii.gz files
  • Loading branch information
akhanf authored May 9, 2022
2 parents 1e1d74d + 86d2ca2 commit 77bae7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tar2bids
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ done
echo " Adding default .bidsignore file..."
cp -v $execpath/etc/bidsignore $output_dir/.bidsignore

echo " Removing _ROI#.nii.gz files (unused scale bars from qMRI)..."
rm -vf $output_dir/sub*/*/*ROI[0-9].nii.gz $output_dir/sub*/ses*/*ROI[0-9].nii.gz 2> /dev/null

echo " Running bids-validator..."
bids-validator $output_dir | tee $validator_out
Expand Down

0 comments on commit 77bae7f

Please sign in to comment.