Skip to content

Commit 3cdb657

Browse files
committed
ENH: Reorder traits for better error message
1 parent a84c8e8 commit 3cdb657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ def _list_outputs(self):
125125

126126
class RealignInputSpec(SPMCommandInputSpec):
127127
in_files = InputMultiPath(
128-
traits.Either(traits.List(ImageFileSPM(exists=True)),
129-
ImageFileSPM(exists=True)),
128+
traits.Either(ImageFileSPM(exists=True),
129+
traits.List(ImageFileSPM(exists=True))),
130130
field='data',
131131
mandatory=True,
132132
copyfile=True,

0 commit comments

Comments
 (0)