Skip to content
Snippets Groups Projects
Commit d4380bfe authored by Stamatios Sotiropoulos's avatar Stamatios Sotiropoulos
Browse files

Corrections on calling bpx_single_slice

parent 8ef1969e
No related branches found
No related tags found
No related merge requests found
...@@ -77,8 +77,8 @@ do ...@@ -77,8 +77,8 @@ do
esac esac
shift shift
done done
opts=" --nf=$nfibres --fudge=$fudge --bi=$burnin --nj=$njumps --se=$sampleevery --model=$model" opts="--nf=$nfibres --fudge=$fudge --bi=$burnin --nj=$njumps --se=$sampleevery --model=$model"
defopts=" --cnonlinear" defopts="--cnonlinear"
opts="$opts $defopts $*" opts="$opts $defopts $*"
#check that all required files exist #check that all required files exist
...@@ -118,8 +118,7 @@ mkdir -p ${subjdir}.bedpostX/xfms ...@@ -118,8 +118,7 @@ mkdir -p ${subjdir}.bedpostX/xfms
mailto=`whoami`@fmrib.ox.ac.uk mailto=`whoami`@fmrib.ox.ac.uk
echo Queuing preprocessing stages echo Queuing preprocessing stages
#preprocid=`${FSLDIR}/bin/fsl_sub -T 60 -m as -N bpx_preproc -l ${subjdir}.bedpostX/logs ${FSLDIR}/bin/bedpostx_preproc.sh ${subjdir}` preprocid=`${FSLDIR}/bin/fsl_sub -T 60 -m as -N bpx_preproc -l ${subjdir}.bedpostX/logs ${FSLDIR}/bin/bedpostx_preproc.sh ${subjdir}`
#preprocid=`${FSLDIR}/bin/fsl_sub -q veryshort.q -m as -N bpx_preproc -l ${subjdir}.bedpostX/logs ${FSLDIR}/bin/bedpostx_preproc.sh ${subjdir}`
echo Queuing parallel processing stage echo Queuing parallel processing stage
nslices=`${FSLDIR}/bin/fslval ${subjdir}/data dim3` nslices=`${FSLDIR}/bin/fslval ${subjdir}/data dim3`
...@@ -189,18 +188,16 @@ do ...@@ -189,18 +188,16 @@ do
if [ `$FSLDIR/bin/imtest ${subjdir}.bedpostX/diff_slices/data_slice_$slicezp/dyads1` -eq 1 ];then if [ `$FSLDIR/bin/imtest ${subjdir}.bedpostX/diff_slices/data_slice_$slicezp/dyads1` -eq 1 ];then
echo "slice $slice has already been processed" echo "slice $slice has already been processed"
else else
echo "${FSLDIR}/bin/bedpostx_single_slice.sh $subjdir $opts" \ echo "${FSLDIR}/bin/bedpostx_single_slice.sh $subjdir $slice $opts" \
>> ${subjdir}.bedpostX/commands.txt >> ${subjdir}.bedpostX/commands.txt
fi fi
slice=$(($slice + 1)) slice=$(($slice + 1))
done done
#bedpostid=`${FSLDIR}/bin/fsl_sub -q verylong.q -j $preprocid -l ${subjdir}.bedpostX/logs -M $mailto -N bedpostx -t ${subjdir}.bedpostX/commands.txt` bedpostid=`${FSLDIR}/bin/fsl_sub -j $preprocid -l ${subjdir}.bedpostX/logs -M $mailto -N bedpostx -t ${subjdir}.bedpostX/commands.txt`
#bedpostid=`${FSLDIR}/bin/fsl_sub -q veryshort.q -j $preprocid -l ${subjdir}.bedpostX/logs -M $mailto -N bedpostx -t ${subjdir}.bedpostX/commands.txt`
echo Queuing post processing stage echo Queuing post processing stage
#mergeid=`${FSLDIR}/bin/fsl_sub -j $bedpostid -T 60 -m as -N bpx_postproc -l ${subjdir}.bedpostX/logs ${FSLDIR}/bin/bedpostx_postproc.sh $subjdir` mergeid=`${FSLDIR}/bin/fsl_sub -j $bedpostid -T 60 -m as -N bpx_postproc -l ${subjdir}.bedpostX/logs ${FSLDIR}/bin/bedpostx_postproc.sh $subjdir`
#mergeid=`${FSLDIR}/bin/fsl_sub -j $bedpostid -q veryshort.q -m as -N bpx_postproc -l ${subjdir}.bedpostX/logs ${FSLDIR}/bin/bedpostx_postproc.sh $subjdir`
[ "x$SGE_ROOT" = "x" ] && kill -USR1 $monitorpid [ "x$SGE_ROOT" = "x" ] && kill -USR1 $monitorpid
......
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