Skip to content

Commit

Permalink
Fix CI tests for #2602
Browse files Browse the repository at this point in the history
  • Loading branch information
Lestropie committed Feb 12, 2025
1 parent bac6028 commit 6e90b23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/dwifslpreproc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import itertools, json, math, os, shutil, sys
try:
from shutil import which as find_executable
except ImportError:
from distutils.spawn import find_executable # pylint: disable=deprecated-module
from distutils.spawn import find_executable # pylint: disable=deprecated-module



Expand Down
8 changes: 4 additions & 4 deletions testing/binaries/tests/mrinfo
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

0 comments on commit 6e90b23

Please sign in to comment.