Skip to content

Commit 7420058

Browse files
committed
formatted according to nipype's specifications
1 parent 9544f2b commit 7420058

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

nipype/interfaces/mrtrix3/preprocess.py

+5-15
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,
@@ -409,9 +407,7 @@ def _list_outputs(self):
409407
outputs = self.output_spec().get()
410408
outputs["out_file"] = op.abspath(self.inputs.out_file)
411409
if self.inputs.out_grad_mrtrix:
412-
outputs["out_grad_mrtrix"] = op.abspath(
413-
self.inputs.out_grad_mrtrix
414-
)
410+
outputs["out_grad_mrtrix"] = op.abspath(self.inputs.out_grad_mrtrix)
415411
if self.inputs.out_grad_fsl:
416412
outputs["out_fsl_bvec"] = op.abspath(self.inputs.out_grad_fsl[0])
417413
outputs["out_fsl_bval"] = op.abspath(self.inputs.out_grad_fsl[1])
@@ -445,15 +441,9 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec):
445441
usedefault=True,
446442
desc="output WM response text file",
447443
)
448-
gm_file = File(
449-
argstr="%s", position=-2, desc="output GM response text file"
450-
)
451-
csf_file = File(
452-
argstr="%s", position=-1, desc="output CSF response text file"
453-
)
454-
in_mask = File(
455-
exists=True, argstr="-mask %s", desc="provide initial mask image"
456-
)
444+
gm_file = File(argstr="%s", position=-2, desc="output GM response text file")
445+
csf_file = File(argstr="%s", position=-1, desc="output CSF response text file")
446+
in_mask = File(exists=True, argstr="-mask %s", desc="provide initial mask image")
457447
max_sh = InputMultiObject(
458448
traits.Int,
459449
argstr="-lmax %s",

0 commit comments

Comments
 (0)