Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions nipype/interfaces/niftyreg/regutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,16 @@ def _gen_filename(self, name):

return None

def _list_outputs(self):
outputs = self.output_spec().get()

if isdefined(self.inputs.out_file):
outputs['out_file'] = self.inputs.out_file
else:
outputs['out_file'] = self._gen_filename('out_file')

return outputs

@property
def cmdline(self):
""" Rewrite the cmdline to write options in text_file."""
Expand Down