@@ -264,11 +264,11 @@ def _overload_extension(self, value, name=None):
264
264
class ApplyTOPUPInputSpec (FSLCommandInputSpec ):
265
265
in_files = InputMultiPath (File (exists = True ), mandatory = True ,
266
266
desc = 'name of 4D file with images' ,
267
- argstr = '--imain=%s... ' , sep = ',' )
267
+ argstr = '--imain=%s' , sep = ',' )
268
268
encoding_file = File (exists = True , mandatory = True ,
269
269
desc = 'name of text file with PE directions/times' ,
270
270
argstr = '--datain=%s' )
271
- in_index = traits .List (traits .Int , argstr = '--inindex=%d... ' , sep = ',' ,
271
+ in_index = traits .List (traits .Int , argstr = '--inindex=%s ' , sep = ',' ,
272
272
mandatory = True ,
273
273
desc = ('comma separated list of indicies into '
274
274
'--datain of the input image (to be '
@@ -313,7 +313,7 @@ class ApplyTOPUP( FSLCommand ):
313
313
>>> applytopup.inputs.in_topup_fieldcoef = "topup_fieldcoef.nii.gz"
314
314
>>> applytopup.inputs.in_topup_movpar = "topup_movpar.txt"
315
315
>>> applytopup.cmdline #doctest: +ELLIPSIS
316
- 'applytopup --datain=topup_encoding.txt --imain=epi.nii,--imain= epi_rev.nii --inindex=1,--inindex= 2 --topup=topup --out=epi_corrected.nii.gz'
316
+ 'applytopup --datain=topup_encoding.txt --imain=epi.nii,epi_rev.nii --inindex=1,2 --topup=topup --out=epi_corrected.nii.gz'
317
317
>>> res = applytopup.run() # doctest: +SKIP
318
318
319
319
"""
0 commit comments