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
6d16fd32
Commit
6d16fd32
authored
Nov 05, 2020
by
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
xtract
View file @
6d16fd32
...
...
@@ -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
Supports
Markdown
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