Skip to content

Commit

Permalink
Update nipype/interfaces/mrtrix3/preprocess.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
MatthieuJoulot and effigies authored Sep 29, 2022
1 parent 4b7993c commit ddc81d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype/interfaces/mrtrix3/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ def _format_arg(self, name, trait_spec, value):
return super()._format_arg(name, trait_spec, value)

def _list_outputs(self):
outputs = self.output_spec().get()
if self.inputs.out_file:
outputs = self.output_spec().get()
outputs["out_file"] = op.abspath(self.inputs.out_file)
if self.inputs.bias:
outputs["bias"] = op.abspath(self.inputs.bias)
Expand Down

0 comments on commit ddc81d3

Please sign in to comment.