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
65f8b018
Commit
65f8b018
authored
Jun 29, 2022
by
Paul McCarthy
🚵
Browse files
TEST: adjust eddy wrapper test
parent
19c271c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_wrappers/test_wrappers.py
View file @
65f8b018
...
...
@@ -66,11 +66,11 @@ def test_robustfov():
assert
checkResult
(
result
.
stdout
[
0
],
*
expected
)
def
test_eddy
_cuda
():
with
asrt
.
disabled
(),
run
.
dryrun
(),
mockFSLDIR
(
bin
=
(
'eddy
_cuda
'
,))
as
fsldir
:
eddy
=
op
.
join
(
fsldir
,
'bin'
,
'eddy
_cuda
'
)
result
=
fw
.
eddy
_cuda
(
'imain'
,
'mask'
,
'index'
,
'acqp'
,
'bvecs'
,
'bvals'
,
'out'
,
dont_mask_output
=
True
)
def
test_eddy
():
with
asrt
.
disabled
(),
run
.
dryrun
(),
mockFSLDIR
(
bin
=
(
'eddy'
,))
as
fsldir
:
eddy
=
op
.
join
(
fsldir
,
'bin'
,
'eddy'
)
result
=
fw
.
eddy
(
'imain'
,
'mask'
,
'index'
,
'acqp'
,
'bvecs'
,
'bvals'
,
'out'
,
dont_mask_output
=
True
)
expected
=
(
eddy
,
(
'--imain=imain'
,
'--mask=mask'
,
'--index=index'
,
...
...
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