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
bc1b4a0d
Commit
bc1b4a0d
authored
Sep 03, 2019
by
Paul McCarthy
🚵
Browse files
TEST: Test present but empty, and test absent
parent
7c72afde
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_atlases.py
View file @
bc1b4a0d
...
...
@@ -149,9 +149,8 @@ def test_AtlasDescription():
def
test_StatisticHeader
():
with
tests
.
testdir
()
as
testdir
:
hdr
=
'<statistic>T</statistic>'
\
'<units>
M
</units>'
\
'<units></units>'
\
'<precision>3</precision>'
\
'<lower>15</lower>'
\
'<upper>75</upper>'
xmlfile
=
_make_dummy_atlas
(
testdir
,
'statlas'
,
...
...
@@ -163,9 +162,9 @@ def test_StatisticHeader():
desc
=
atlases
.
AtlasDescription
(
xmlfile
,
'StAtlas'
)
assert
desc
.
atlasType
==
'statistic'
assert
desc
.
statistic
==
'T'
assert
desc
.
units
==
'
M
'
assert
desc
.
units
==
''
assert
desc
.
precision
==
3
assert
desc
.
lower
==
15
assert
desc
.
lower
==
0
assert
desc
.
upper
==
75
...
...
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