Skip to content

Commit dbb8b45

Browse files
STY: Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 925d592 commit dbb8b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ def _list_outputs(self):
10251025
if self.inputs.sort_filelist:
10261026
outfiles = human_order_sorted(outfiles)
10271027
outputs[key].append(simplify_list(outfiles))
1028-
if any(val is None for val in outputs[key]):
1028+
if None in outputs[key]:
10291029
outputs[key] = []
10301030
if len(outputs[key]) == 0:
10311031
outputs[key] = None

0 commit comments

Comments
 (0)