Skip to content

Commit dbb84a3

Browse files
committed
fixing doctest with multiple images
1 parent 3403b0a commit dbb84a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/ants/registration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,9 +1510,9 @@ def aggregate_outputs(self, runtime=None, needed_outputs=None):
15101510
class RegistrationSynQuickInputSpec(ANTSCommandInputSpec):
15111511
dimension = traits.Enum(3, 2, argstr='-d %d',
15121512
usedefault=True, desc='image dimension (2 or 3)')
1513-
fixed_image = InputMultiPath(File(exists=True), mandatory=True, argstr='-f %s',
1513+
fixed_image = InputMultiPath(File(exists=True), mandatory=True, argstr='-f %s...',
15141514
desc='Fixed image or source image or reference image')
1515-
moving_image = InputMultiPath(File(exists=True), mandatory=True, argstr='-m %s',
1515+
moving_image = InputMultiPath(File(exists=True), mandatory=True, argstr='-m %s...',
15161516
desc='Moving image or target image')
15171517
output_prefix = Str("transform", usedefault=True, argstr='-o %s',
15181518
desc="A prefix that is prepended to all output files")
@@ -1577,7 +1577,7 @@ class RegistrationSynQuick(ANTSCommand):
15771577
>>> reg.inputs.moving_image = ['moving1.nii', 'moving2.nii']
15781578
>>> reg.inputs.num_threads = 2
15791579
>>> reg.cmdline
1580-
'antsRegistrationSynQuick.sh -d 3 -f fixed1.nii fixed2.nii -m moving1.nii moving2.nii -n 2 -o transform -p d -t s'
1580+
'antsRegistrationSynQuick.sh -d 3 -f fixed1.nii -f fixed2.nii -m moving1.nii -m moving2.nii -n 2 -o transform -p d -t s'
15811581
>>> reg.run() # doctest: +SKIP
15821582
"""
15831583

0 commit comments

Comments
 (0)