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
fslpy
Commits
2f42d56e
Commit
2f42d56e
authored
Jul 14, 2017
by
Paul McCarthy
🚵
Browse files
Callfsl unit test was broken
parent
b73d553e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_callfsl.py
View file @
2f42d56e
...
...
@@ -31,10 +31,10 @@ def setup_module():
# or 'fslinfo ...'
def
mock_check_output
(
args
):
if
args
[
0
].
endswith
(
'fslinfo'
):
return
'info'
return
'info'
.
encode
(
'utf-8'
)
img
=
nib
.
load
(
args
[
-
2
])
return
str
(
img
.
get_data
().
mean
())
return
str
(
img
.
get_data
().
mean
())
.
encode
(
'utf-8'
)
def
test_callfsl
():
...
...
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