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
1b6362e2
Commit
1b6362e2
authored
1 year ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
TEST: Unit test for get_standard wrapper
parent
f19c5a85
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
fsl/tests/test_wrappers/test_wrappers.py
+6
-0
6 additions, 0 deletions
fsl/tests/test_wrappers/test_wrappers.py
with
6 additions
and
0 deletions
fsl/tests/test_wrappers/test_wrappers.py
+
6
−
0
View file @
1b6362e2
...
...
@@ -638,3 +638,9 @@ def test_randomise():
d
=
'
design.mat
'
,
one
=
True
)
exp
=
f
'
{
randomise
}
-i input -o outbase -T --T2 --fonly -d design.mat -1
'
assert
res
[
0
]
==
exp
def
test_get_standard
():
with
testenv
(
'
get_standard
'
)
as
exe
:
assert
fw
.
get_standard
(
'
brain
'
,
'
T1
'
)
==
f
'
{
exe
}
brain T1
'
assert
fw
.
get_standard
(
'
whole_head
'
,
r
=
2
)
==
f
'
{
exe
}
whole_head -r 2
'
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