@@ -192,9 +192,7 @@ class DWIBiasCorrectInputSpec(MRTrix3BaseInputSpec):
192
192
mandatory = True ,
193
193
desc = "input DWI image" ,
194
194
)
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" )
198
196
use_ants = traits .Bool (
199
197
argstr = "ants" ,
200
198
mandatory = True ,
@@ -412,9 +410,7 @@ def _list_outputs(self):
412
410
outputs = self .output_spec ().get ()
413
411
outputs ["out_file" ] = op .abspath (self .inputs .out_file )
414
412
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 )
418
414
if self .inputs .export_grad_fsl :
419
415
outputs ["out_fsl_bvec" ] = op .abspath (self .inputs .out_grad_fsl [0 ])
420
416
outputs ["out_fsl_bval" ] = op .abspath (self .inputs .out_grad_fsl [1 ])
@@ -448,15 +444,9 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec):
448
444
usedefault = True ,
449
445
desc = "output WM response text file" ,
450
446
)
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" )
460
450
max_sh = InputMultiObject (
461
451
traits .Int ,
462
452
argstr = "-lmax %s" ,
0 commit comments