Skip to content

Commit d001a28

Browse files
committed
BF: if --x1D_stop, do not assume out_file exists
1 parent 373bddd commit d001a28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nipype/interfaces/afni/model.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ 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):
294+
# we are stopping early, so out_file doesn't exist
295+
self.output_spec.out_file.exists = False
296+
293297
outputs = self.output_spec().get()
294298

295299
_gen_fname_opts = {}

0 commit comments

Comments
 (0)