@@ -348,15 +348,18 @@ class GTMPVCInputSpec(FSTraitedSpec):
348
348
argstr = "--save-yhat" , desc = "save signal estimate (yhat) smoothed with the PSF"
349
349
)
350
350
351
- save_yhat_with_noise = traits .Bool (
352
- argstr = "--save-yhat-with-noise" , desc = "save signal estimate (yhat) with noise"
351
+ save_yhat_with_noise = traits .Tuple (
352
+ traits .Int ,
353
+ traits .Int ,
354
+ argstr = "--save-yhat-with-noise %i %i" ,
355
+ desc = "seed nreps : save signal estimate (yhat) with noise"
353
356
)
354
357
355
358
save_yhat_full_fov = traits .Bool (
356
359
argstr = "--save-yhat-full-fov" , desc = "save signal estimate (yhat)"
357
360
)
358
361
359
- save_yhat0 = traits .Bool (argstr = "--save_yhat0 " , desc = "save signal estimate (yhat)" )
362
+ save_yhat0 = traits .Bool (argstr = "--save-yhat0 " , desc = "save signal estimate (yhat)" )
360
363
361
364
opt = traits .Int (
362
365
argstr = "--opt %i" , desc = "opt : optimization schema for applying adaptive GTM"
@@ -485,9 +488,9 @@ def _list_outputs(self):
485
488
if self .inputs .save_yhat :
486
489
outputs ["yhat" ] = os .path .join (pvcdir , "yhat.nii.gz" )
487
490
if self .inputs .save_yhat_full_fov :
488
- outputs ["yhat_full_fov" ] = os .path .join (pvcdir , "yhat_full_fov .nii.gz" )
489
- if self .inputs .save_yhat_with_noise :
490
- outputs ["yhat_with_noise" ] = os .path .join (pvcdir , "yhat_with_noise .nii.gz" )
491
+ outputs ["yhat_full_fov" ] = os .path .join (pvcdir , "yhat.fullfov .nii.gz" )
492
+ if isdefined ( self . inputs . save_yhat_with_noise ) and self .inputs .save_yhat_with_noise :
493
+ outputs ["yhat_with_noise" ] = os .path .join (pvcdir , "yhat .nii.gz" )
491
494
if isdefined (self .inputs .mgx ) and self .inputs .mgx :
492
495
outputs ["mgx_ctxgm" ] = os .path .join (pvcdir , "mgx.ctxgm.nii.gz" )
493
496
outputs ["mgx_subctxgm" ] = os .path .join (pvcdir , "mgx.subctxgm.nii.gz" )
0 commit comments