nipy/nipype — pull request #378 by swederik (2012-05-04 10:28:38+00:00)
Title: BUG: Fix for datasink input raise_on_empty

I just tried to run a datasink node using the raise_on_empty input as False and ran into a problem.

I was getting "NoneType is not iterable" on the line:

for src in filename_to_list(files):

because "files" was defined as "False" for the key "raise_on_empty"

I'm not sure this is the best way of fixing the issue, but I figured I'd submit my solution anyway...