Skip to content
Snippets Groups Projects
Commit 42f97e4c authored by Stephen Smith's avatar Stephen Smith
Browse files

*** empty log message ***

parent 6d841425
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# Copyright (C) 2004 University of Oxford # Copyright (C) 2004-8 University of Oxford
# #
# SHCOPYRIGHT # SHCOPYRIGHT
...@@ -13,7 +13,6 @@ Usage() { ...@@ -13,7 +13,6 @@ Usage() {
[ "$3" = "" ] && Usage [ "$3" = "" ] && Usage
input=`${FSLDIR}/bin/remove_ext ${1}` input=`${FSLDIR}/bin/remove_ext ${1}`
output=`${FSLDIR}/bin/remove_ext ${2}` output=`${FSLDIR}/bin/remove_ext ${2}`
ref=${3} ref=${3}
...@@ -25,8 +24,8 @@ fi ...@@ -25,8 +24,8 @@ fi
fslroi $input $output $ref 1 fslroi $input $output $ref 1
fslsplit $input fslsplit $input ${output}_tmp
full_list=`${FSLDIR}/bin/imglob vol????.*` full_list=`${FSLDIR}/bin/imglob ${output}_tmp????.*`
for i in $full_list ; do for i in $full_list ; do
echo processing $i echo processing $i
...@@ -36,5 +35,7 @@ done ...@@ -36,5 +35,7 @@ done
fslmerge -t $output $full_list fslmerge -t $output $full_list
/bin/rm vol????.* /bin/rm ${output}_tmp????.*
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