-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i "s/^0/NaN/" tmp.bval && mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i "s/^0/NaN/" tmp.bvec && mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i "3 s/^0/1/" tmp.bvec && sed -i "s/^0/NaN/" tmp.bval && if [[ $(mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval) ]]; then exit 1; else exit 0; fi | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i "s/^0/NaN/" tmp.bvec && sed -i "s/^0/3000/" tmp.bval && if [[ $(mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval) ]]; then exit 1; else exit 0; fi | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i"" "s/^0/NaN/" tmp.bval && mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i"" "s/^0/NaN/" tmp.bvec && mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i"" "3 s/^0/1/" tmp.bvec && sed -i"" "s/^0/NaN/" tmp.bval && if [[ $(mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval) ]]; then exit 1; else exit 0; fi | ||
mrinfo dwi.mif -export_grad_fsl tmp.bvec tmp.bval -force && sed -i"" "s/^0/NaN/" tmp.bvec && sed -i"" "s/^0/3000/" tmp.bval && if [[ $(mrinfo dwi.mif -fslgrad tmp.bvec tmp.bval) ]]; then exit 1; else exit 0; fi | ||
|