Skip to content
Snippets Groups Projects
Commit bd83075c authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

--imain in topup can take multiple filenames

parent d82553da
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,8 @@ def applytopup(imain, datain, index, **kwargs): ...@@ -92,7 +92,8 @@ def applytopup(imain, datain, index, **kwargs):
} }
asrt.assertFileExists(datain) asrt.assertFileExists(datain)
asrt.assertIsNifti(imain) for fn in imain.split(','):
asrt.assertIsNifti(fn)
cmd = [ cmd = [
'applytopup', '--imain={}'.format(imain), 'applytopup', '--imain={}'.format(imain),
......
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