Commit 6d16fd32 authored by Shaun Warrington's avatar Shaun Warrington
Browse files

Merge branch 'bug-allow-noninteger' into 'master'

Bug allow noninteger

See merge request !17
parents 94dd286c 26b6310e
Pipeline #6681 passed with stage
in 43 seconds
......@@ -70,7 +70,6 @@ Splash
[ -z "$1" ] && Usage
# Set default options
bpx=""
out=""
......@@ -402,7 +401,7 @@ while read structstring; do
done
else
for m in seed stop exclude;do
if [ $res -gt 0 ];then
if (( $(echo "$res > 0" | bc -l) ));then
# Resample at a different resolution
mkdir -p "$out/masks/$struct"
if [ `$FSLDIR/bin/imtest "$maskdir/$m"` -eq 1 ];then
......@@ -434,7 +433,7 @@ while read structstring; do
done
echo $out/masks/$struct/target* > "$targetfile"
else
if [ $res -gt 0 ];then
if (( $(echo "$res > 0" | bc -l) ));then
# Resample at a different resolution
for tfile in $targets;do
t=`basename "$tfile"`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment