Skip to content

Commit 14ab0a8

Browse files
committed
Fix by setting exists to False
1 parent e5f36a8 commit 14ab0a8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

nipype/interfaces/afni/model.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
233233

234234
class DeconvolveOutputSpec(TraitedSpec):
235235
out_file = File(
236-
desc='output statistics file', exists=True)
236+
desc='output statistics file', exists=False)
237237
reml_script = File(
238238
desc='automatical generated script to run 3dREMLfit', exists=True)
239239
x1D = File(
@@ -291,10 +291,6 @@ def _parse_inputs(self, skip=None):
291291
return super(Deconvolve, self)._parse_inputs(skip)
292292

293293
def _list_outputs(self):
294-
if isdefined(self.inputs.x1D_stop) and self.inputs.x1D_stop:
295-
# we are stopping early, so out_file doesn't exist
296-
self.output_spec.out_file.exists = False
297-
298294
outputs = self.output_spec().get()
299295

300296
_gen_fname_opts = {}

0 commit comments

Comments
 (0)