Skip to content
Snippets Groups Projects
Commit e20b6bda authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

mgh unit test adjust

parent cd8ba60e
No related branches found
No related tags found
No related merge requests found
......@@ -16,16 +16,6 @@ from . import testdir
import fsl.data.mghimage as fslmgh
def test_looksLikeMGHImage():
lookLike = ['test.mgz', 'test.mgh']
noLookLike = ['test.nii', 'test', 'testmgh.mga', 'test.mgza', 'test.mgha']
for l in lookLike: assert fslmgh.looksLikeMGHImage(l)
for nl in noLookLike: assert not fslmgh.looksLikeMGHImage(nl)
def test_MGHImage():
datadir = op.join(op.dirname(__file__), 'testdata')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment