Skip to content

Commit 66343ae

Browse files
committed
Check that x1d_stop is true
1 parent d001a28 commit 66343ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/afni/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def _parse_inputs(self, skip=None):
290290
return super(Deconvolve, self)._parse_inputs(skip)
291291

292292
def _list_outputs(self):
293-
if isdefined(self.inputs.x1D_stop):
293+
if isdefined(self.inputs.x1D_stop) and self.inputs.x1D_stop:
294294
# we are stopping early, so out_file doesn't exist
295295
self.output_spec.out_file.exists = False
296296

0 commit comments

Comments
 (0)