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

Add grad-nonlinearity option

parent cfd11efa
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
subjdir=$1 subjdir=$1
gflag=$2
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
...@@ -12,4 +13,8 @@ fi ...@@ -12,4 +13,8 @@ fi
${FSLDIR}/bin/fslslice ${subjdir}/data ${FSLDIR}/bin/fslslice ${subjdir}/data
${FSLDIR}/bin/fslslice ${subjdir}/nodif_brain_mask ${FSLDIR}/bin/fslslice ${subjdir}/nodif_brain_mask
if [ ${gflag} -eq 1 ]; then
${FSLDIR}/bin/fslslice ${subjdir}/grad_dev
fi
echo Done echo Done
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