Skip to content

Commit 285f187

Browse files
committed
reformatted to pass pre-commit hooks
1 parent 411e577 commit 285f187

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

nipype/interfaces/mrtrix3/preprocess.py

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ class DWIBiasCorrectInputSpec(MRTrix3BaseInputSpec):
192192
mandatory=True,
193193
desc="input DWI image",
194194
)
195-
in_mask = File(
196-
argstr="-mask %s", desc="input mask image for bias field estimation"
197-
)
195+
in_mask = File(argstr="-mask %s", desc="input mask image for bias field estimation")
198196
use_ants = traits.Bool(
199197
argstr="ants",
200198
mandatory=True,
@@ -412,9 +410,7 @@ def _list_outputs(self):
412410
outputs = self.output_spec().get()
413411
outputs["out_file"] = op.abspath(self.inputs.out_file)
414412
if self.inputs.export_grad_mrtrix:
415-
outputs["out_grad_mrtrix"] = op.abspath(
416-
self.inputs.out_grad_mrtrix
417-
)
413+
outputs["out_grad_mrtrix"] = op.abspath(self.inputs.out_grad_mrtrix)
418414
if self.inputs.export_grad_fsl:
419415
outputs["out_fsl_bvec"] = op.abspath(self.inputs.out_grad_fsl[0])
420416
outputs["out_fsl_bval"] = op.abspath(self.inputs.out_grad_fsl[1])
@@ -448,15 +444,9 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec):
448444
usedefault=True,
449445
desc="output WM response text file",
450446
)
451-
gm_file = File(
452-
argstr="%s", position=-2, desc="output GM response text file"
453-
)
454-
csf_file = File(
455-
argstr="%s", position=-1, desc="output CSF response text file"
456-
)
457-
in_mask = File(
458-
exists=True, argstr="-mask %s", desc="provide initial mask image"
459-
)
447+
gm_file = File(argstr="%s", position=-2, desc="output GM response text file")
448+
csf_file = File(argstr="%s", position=-1, desc="output CSF response text file")
449+
in_mask = File(exists=True, argstr="-mask %s", desc="provide initial mask image")
460450
max_sh = InputMultiObject(
461451
traits.Int,
462452
argstr="-lmax %s",

0 commit comments

Comments
 (0)