Skip to content

Commit 6e186f9

Browse files
committed
fixed DWIPreproc issue
1 parent ca27e51 commit 6e186f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/mrtrix3/preprocess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ class DWIPreproc(MRTrix3Base):
406406
def _list_outputs(self):
407407
outputs = self.output_spec().get()
408408
outputs["out_file"] = op.abspath(self.inputs.out_file)
409-
if self.inputs.export_grad_mrtrix:
409+
if self.inputs.out_grad_mrtrix:
410410
outputs["out_grad_mrtrix"] = op.abspath(self.inputs.out_grad_mrtrix)
411411
if self.inputs.export_grad_fsl:
412412
outputs["out_fsl_bvec"] = op.abspath(self.inputs.out_grad_fsl[0])

0 commit comments

Comments
 (0)