Sure I can add that in


On Tue, Aug 13, 2013 at 8:22 PM, Satrajit Ghosh <notifications@github.com>wrote:

> In nipype/interfaces/io.py:
>
> > @@ -562,8 +562,12 @@ class SelectFilesInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
> >          desc="When matching mutliple files, return them in sorted order.")
> >      raise_on_empty = traits.Bool(True, usedefault=True,
> >          desc="Raise an exception if a template pattern matches no files.")
> > -    force_lists = traits.Bool(False, usedefault=True,
> > -        desc="Return all values as lists even when matching a single file.")
> > +    force_lists = traits.Either(traits.Bool(), traits.List(traits.Str()),
>
> should something in the code check that the strings match the template
> fields when the value is not a bool?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nipy/nipype/pull/637/files#r5755095>
> .
>