Skip to content

Commit

Permalink
added outputs' generation
Browse files Browse the repository at this point in the history
  • Loading branch information
GalKepler committed May 13, 2022
1 parent b410d08 commit 4c5d106
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nipype/interfaces/mrtrix3/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ def _format_arg(self, name, trait_spec, value):
return f"-{trait_spec.argstr}"
return super()._format_arg(name, trait_spec, value)

def _list_outputs(self):
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)
return outputs


class DWIPreprocInputSpec(MRTrix3BaseInputSpec):
in_file = File(
Expand Down

0 comments on commit 4c5d106

Please sign in to comment.