Skip to content

Commit ac76954

Browse files
STY: Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 93d1774 commit ac76954

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
@@ -2645,7 +2645,7 @@ def _list_outputs(self):
26452645
outputs[key].append(self._get_files_over_ssh(filledtemplate))
26462646

26472647
# disclude where there was any invalid matches
2648-
if any(val is None for val in outputs[key]):
2648+
if None in outputs[key]:
26492649
outputs[key] = []
26502650

26512651
# no outputs is None, not empty list

0 commit comments

Comments
 (0)