Commit 2f42d56e authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Callfsl unit test was broken

parent b73d553e
......@@ -31,10 +31,10 @@ def setup_module():
# or 'fslinfo ...'
def mock_check_output(args):
if args[0].endswith('fslinfo'):
return 'info'
return 'info'.encode('utf-8')
img = nib.load(args[-2])
return str(img.get_data().mean())
return str(img.get_data().mean()).encode('utf-8')
def test_callfsl():
......
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