Skip to content

Commit f196238

Browse files
committed
changing in_files in RealignInputSpec
1 parent 6239693 commit f196238

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,9 @@ def _list_outputs(self):
119119

120120

121121
class RealignInputSpec(SPMCommandInputSpec):
122-
in_files = InputMultiPath(traits.Either(traits.List(
123-
ImageFileSPM(exists=True)),
124-
ImageFileSPM(exists=True)), field='data',
125-
mandatory=True, copyfile=True,
126-
desc='list of filenames to realign')
122+
in_files = InputMultiPath(ImageFileSPM(exists=True),
123+
field='data', desc='list of files to realign',
124+
mandatory=True, copyfile=True)
127125
jobtype = traits.Enum('estwrite', 'estimate', 'write',
128126
desc='one of: estimate, write, estwrite',
129127
usedefault=True)

0 commit comments

Comments
 (0)