Commit 176763a2 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: test fslmaths -roi

parent 56854d18
......@@ -321,7 +321,8 @@ def test_fslmaths():
.fillh().ero().dilM().dilF().add('addim').sub('subim') \
.mul('mulim').div('divim').mas('masim').rem('remim') \
.thr('thrim').uthr('uthrim').inm('inmim').bptf(1, 10) \
.smooth(sigma=6).kernel('3D').fmeanu().run('output')
.smooth(sigma=6).kernel('3D').fmeanu().roi(10, 3, 20, 21, 1, 5) \
.run('output')
expected = [cmd, 'input',
'-abs', '-bin', '-binv', '-recip', '-Tmean', '-Tstd',
......@@ -329,6 +330,7 @@ def test_fslmaths():
'-add addim', '-sub subim', '-mul mulim', '-div divim',
'-mas masim', '-rem remim', '-thr thrim', '-uthr uthrim',
'-inm inmim', '-bptf 1 10', '-s 6', '-kernel 3D', '-fmeanu',
'-roi 10 3 20 21 1 5 0 -1',
'output']
expected = ' '.join(expected)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment