Skip to content

Commit 07a3e4f

Browse files
committed
adding _list_outputs for regaverage that was removed from base interface
1 parent 91e42d2 commit 07a3e4f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

nipype/interfaces/niftyreg/regutils.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,16 @@ def _gen_filename(self, name):
418418

419419
return None
420420

421+
def _list_outputs(self):
422+
outputs = self.output_spec().get()
423+
424+
if isdefined(self.inputs.out_file):
425+
outputs['out_file'] = self.inputs.out_file
426+
else:
427+
outputs['out_file'] = self._gen_filename('out_file')
428+
429+
return outputs
430+
421431
@property
422432
def cmdline(self):
423433
""" Rewrite the cmdline to write options in text_file."""

0 commit comments

Comments
 (0)