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

Merge branch 'bug_apply_topup' into 'master'

--imain in topup can take multiple filenames

See merge request fsl/fslpy!324
parents d82553da bd83075c
No related branches found
No related tags found
No related merge requests found
Pipeline #13077 canceled
...@@ -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