Skip to content

Commit 9306be7

Browse files
committed
reformatted to match project's settings
1 parent 443f7f4 commit 9306be7

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,
@@ -411,9 +409,7 @@ def _list_outputs(self):
411409
outputs = self.output_spec().get()
412410
outputs["out_file"] = op.abspath(self.inputs.out_file)
413411
if self.inputs.export_grad_mrtrix:
414-
outputs["out_grad_mrtrix"] = op.abspath(
415-
self.inputs.out_grad_mrtrix
416-
)
412+
outputs["out_grad_mrtrix"] = op.abspath(self.inputs.out_grad_mrtrix)
417413
if self.inputs.export_grad_fsl:
418414
outputs["out_fsl_bvec"] = op.abspath(self.inputs.out_grad_fsl[0])
419415
outputs["out_fsl_bval"] = op.abspath(self.inputs.out_grad_fsl[1])
@@ -447,15 +443,9 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec):
447443
usedefault=True,
448444
desc="output WM response text file",
449445
)
450-
gm_file = File(
451-
argstr="%s", position=-2, desc="output GM response text file"
452-
)
453-
csf_file = File(
454-
argstr="%s", position=-1, desc="output CSF response text file"
455-
)
456-
in_mask = File(
457-
exists=True, argstr="-mask %s", desc="provide initial mask image"
458-
)
446+
gm_file = File(argstr="%s", position=-2, desc="output GM response text file")
447+
csf_file = File(argstr="%s", position=-1, desc="output CSF response text file")
448+
in_mask = File(exists=True, argstr="-mask %s", desc="provide initial mask image")
459449
max_sh = InputMultiObject(
460450
traits.Int,
461451
argstr="-lmax %s",

0 commit comments

Comments
 (0)