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
Christoph Arthofer
fslpy
Commits
3dd046ab
Commit
3dd046ab
authored
Jan 29, 2020
by
Paul McCarthy
🚵
Browse files
TEST: test voxToSurfMat
parent
276c2695
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/test_mghimage.py
View file @
3dd046ab
...
...
@@ -67,3 +67,9 @@ def test_MGHImage_save():
expfile
=
op
.
abspath
(
fslimage
.
addExt
(
'example'
,
mustExist
=
False
))
assert
img
.
dataSource
==
op
.
abspath
(
expfile
)
def
test_voxToSurfMat
():
testfile
=
op
.
join
(
datadir
,
'example.mgz'
)
img
=
fslmgh
.
MGHImage
(
testfile
)
assert
np
.
all
(
np
.
isclose
(
img
.
voxToSurfMat
,
fslmgh
.
voxToSurfMat
(
img
)))
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