@@ -192,7 +192,9 @@ class DWIBiasCorrectInputSpec(MRTrix3BaseInputSpec):
192
192
mandatory = True ,
193
193
desc = "input DWI image" ,
194
194
)
195
- in_mask = File (argstr = "-mask %s" , desc = "input mask image for bias field estimation" )
195
+ in_mask = File (
196
+ argstr = "-mask %s" , desc = "input mask image for bias field estimation"
197
+ )
196
198
use_ants = traits .Bool (
197
199
argstr = "ants" ,
198
200
mandatory = True ,
@@ -343,13 +345,12 @@ class DWIPreprocInputSpec(MRTrix3BaseInputSpec):
343
345
out_grad_mrtrix = File (
344
346
"grad.b" ,
345
347
argstr = "%s" ,
346
- usedefault = True ,
347
348
requires = ["export_grad_mrtrix" ],
348
349
desc = "name of new gradient file" ,
349
350
)
350
351
out_grad_fsl = traits .Tuple (
351
- File ("grad.bvecs" , usedefault = True , desc = "bvecs" ),
352
- File ("grad.bvals" , usedefault = True , desc = "bvals" ),
352
+ File ("grad.bvecs" , desc = "bvecs" ),
353
+ File ("grad.bvals" , desc = "bvals" ),
353
354
argstr = "%s, %s" ,
354
355
requires = ["export_grad_fsl" ],
355
356
desc = "Output (bvecs, bvals) gradients FSL format" ,
@@ -410,7 +411,9 @@ def _list_outputs(self):
410
411
outputs = self .output_spec ().get ()
411
412
outputs ["out_file" ] = op .abspath (self .inputs .out_file )
412
413
if self .inputs .export_grad_mrtrix :
413
- outputs ["out_grad_mrtrix" ] = op .abspath (self .inputs .out_grad_mrtrix )
414
+ outputs ["out_grad_mrtrix" ] = op .abspath (
415
+ self .inputs .out_grad_mrtrix
416
+ )
414
417
if self .inputs .export_grad_fsl :
415
418
outputs ["out_fsl_bvec" ] = op .abspath (self .inputs .out_grad_fsl [0 ])
416
419
outputs ["out_fsl_bval" ] = op .abspath (self .inputs .out_grad_fsl [1 ])
@@ -444,9 +447,15 @@ class ResponseSDInputSpec(MRTrix3BaseInputSpec):
444
447
usedefault = True ,
445
448
desc = "output WM response text file" ,
446
449
)
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" )
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
+ )
450
459
max_sh = InputMultiObject (
451
460
traits .Int ,
452
461
argstr = "-lmax %s" ,
0 commit comments