Skip to content
Snippets Groups Projects
Commit f21c4794 authored by Rita Nunes's avatar Rita Nunes
Browse files

CVS

nodif and dti may have a different numb of slices
accounting for the
CVS
parent f6b9c355
No related branches found
No related tags found
No related merge requests found
...@@ -193,6 +193,17 @@ nvols=`avwval dti1 dim4`; ...@@ -193,6 +193,17 @@ nvols=`avwval dti1 dim4`;
echo $nvols gradient directions echo $nvols gradient directions
count_acqs=0 count_acqs=0
#checking if the # of slices is the same
ns_nodif=`avwval nodif dim3`;
ns_dti=`avwval dti1 dim3`;
if [ $ns_nodif != $ns_dti ]; then
rm nodif* -f
dim1=`avwval dti1 dim1`;
dim2=`avwval dti1 dim2`;
avwroi dti1 nodif 0 $dim1 0 $dim2 0 $ns_dti 0 1
fi
correc=`echo $type_cor`; correc=`echo $type_cor`;
case $correc case $correc
in in
......
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