Skip to content
Snippets Groups Projects
Commit 3d45978b authored by Saad Jbabdi's avatar Saad Jbabdi
Browse files

remove nodif

parent 952a179a
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ Usage() { ...@@ -17,7 +17,7 @@ Usage() {
echo "Usage: bedpostx <subject directory> [options]" echo "Usage: bedpostx <subject directory> [options]"
echo "" echo ""
echo "expects to find bvals and bvecs in subject directory" echo "expects to find bvals and bvecs in subject directory"
echo "expects to find data nodif_brain_mask nodif in subject directory" echo "expects to find data and nodif_brain_mask in subject directory"
echo "options:" echo "options:"
echo "-n (number of fibres per voxel, default 2)" echo "-n (number of fibres per voxel, default 2)"
echo "-w (ARD weight, more weight means less fibres killed per voxel, default 1)" echo "-w (ARD weight, more weight means less fibres killed per voxel, default 1)"
...@@ -83,11 +83,6 @@ if [ `${FSLDIR}/bin/imtest ${subjdir}/data` -eq 0 ]; then ...@@ -83,11 +83,6 @@ if [ `${FSLDIR}/bin/imtest ${subjdir}/data` -eq 0 ]; then
exit 1 exit 1
fi fi
if [ `${FSLDIR}/bin/imtest ${subjdir}/nodif` -eq 0 ]; then
echo "${subjdir}/nodif not found"
exit 1
fi
if [ `${FSLDIR}/bin/imtest ${subjdir}/nodif_brain_mask` -eq 0 ]; then if [ `${FSLDIR}/bin/imtest ${subjdir}/nodif_brain_mask` -eq 0 ]; then
echo "${subjdir}/nodif_brain_mask not found" echo "${subjdir}/nodif_brain_mask not found"
exit 1 exit 1
......
...@@ -11,7 +11,7 @@ subjdir=$1 ...@@ -11,7 +11,7 @@ subjdir=$1
echo Copying files to bedpost directory echo Copying files to bedpost directory
cp ${subjdir}/bvecs ${subjdir}/bvals ${subjdir}.bedpostX cp ${subjdir}/bvecs ${subjdir}/bvals ${subjdir}.bedpostX
${FSLDIR}/bin/imcp ${subjdir}/nodif ${subjdir}/nodif_brain_mask ${subjdir}.bedpostX ${FSLDIR}/bin/imcp ${subjdir}/nodif_brain_mask ${subjdir}.bedpostX
${FSLDIR}/bin/fslmaths\ ${FSLDIR}/bin/fslmaths\
${subjdir}/nodif\ ${subjdir}/nodif\
-mas ${subjdir}/nodif_brain_mask\ -mas ${subjdir}/nodif_brain_mask\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment