Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
bc1b4a0d
Commit
bc1b4a0d
authored
5 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
TEST: Test present but empty, and test absent
parent
7c72afde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_atlases.py
+3
-4
3 additions, 4 deletions
tests/test_atlases.py
with
3 additions
and
4 deletions
tests/test_atlases.py
+
3
−
4
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment