Skip to content
Snippets Groups Projects
Commit 47964802 authored by David Flitney's avatar David Flitney
Browse files

*** empty log message ***

parent 9d54a88b
No related branches found
No related tags found
No related merge requests found
...@@ -65,26 +65,32 @@ done ...@@ -65,26 +65,32 @@ done
if [ ! -d $subjdir ]; then if [ ! -d $subjdir ]; then
echo "subject directory $1 not found" echo "subject directory $1 not found"
exit 1
fi fi
if [ ! -e ${subjdir}/bvecs ]; then if [ ! -e ${subjdir}/bvecs ]; then
echo "${subjdir}/bvecs not found" echo "${subjdir}/bvecs not found"
exit 1
fi fi
if [ ! -e ${subjdir}/bvals ]; then if [ ! -e ${subjdir}/bvals ]; then
echo "${subjdir}/bvals not found" echo "${subjdir}/bvals not found"
exit 1
fi fi
if [ `${FSLDIR}/bin/imtest ${subjdir}/data` -eq 0 ]; then if [ `${FSLDIR}/bin/imtest ${subjdir}/data` -eq 0 ]; then
echo "${subjdir}/data not found" echo "${subjdir}/data not found"
exit 1
fi fi
if [ `${FSLDIR}/bin/imtest ${subjdir}/nodif` -eq 0 ]; then if [ `${FSLDIR}/bin/imtest ${subjdir}/nodif` -eq 0 ]; then
echo "${subjdir}/nodif not found" echo "${subjdir}/nodif not found"
exit 1
fi 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
fi fi
echo Making bedpostX directory structure echo Making bedpostX directory structure
......
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