Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
xtract
Commits
26b6310e
Commit
26b6310e
authored
Nov 05, 2020
by
Shaun Warrington
Browse files
Bug allow noninteger
parent
94dd286c
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtract
View file @
26b6310e
...
...
@@ -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
"
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment