@@ -353,7 +353,7 @@ class GTMPVCInputSpec(FSTraitedSpec):
353
353
)
354
354
355
355
save_yhat_full_fov = traits .Bool (
356
- argstr = "--save_yhat_full_fov " , desc = "save signal estimate (yhat)"
356
+ argstr = "--save-yhat-full-fov " , desc = "save signal estimate (yhat)"
357
357
)
358
358
359
359
save_yhat0 = traits .Bool (argstr = "--save_yhat0" , desc = "save signal estimate (yhat)" )
@@ -478,18 +478,15 @@ def _list_outputs(self):
478
478
outputs ["reg_pet2anat" ] = os .path .join (pvcdir , "aux/bbpet2anat.lta" )
479
479
480
480
# Assign the conditional outputs
481
- if isdefined ( self . inputs . save_input ) and self .inputs .save_input :
481
+ if self .inputs .save_input :
482
482
outputs ["input_file" ] = os .path .join (pvcdir , "input.nii.gz" )
483
- if isdefined ( self . inputs . save_yhat0 ) and self .inputs .save_yhat0 :
483
+ if self .inputs .save_yhat0 :
484
484
outputs ["yhat0" ] = os .path .join (pvcdir , "yhat0.nii.gz" )
485
- if isdefined ( self . inputs . save_yhat ) and self .inputs .save_yhat :
485
+ if self .inputs .save_yhat :
486
486
outputs ["yhat" ] = os .path .join (pvcdir , "yhat.nii.gz" )
487
- if isdefined ( self . inputs . save_yhat_full_fov ) and self .inputs .save_yhat_full_fov :
487
+ if self .inputs .save_yhat_full_fov :
488
488
outputs ["yhat_full_fov" ] = os .path .join (pvcdir , "yhat_full_fov.nii.gz" )
489
- if (
490
- isdefined (self .inputs .save_yhat_with_noise )
491
- and self .inputs .save_yhat_with_noise
492
- ):
489
+ if self .inputs .save_yhat_with_noise :
493
490
outputs ["yhat_with_noise" ] = os .path .join (pvcdir , "yhat_with_noise.nii.gz" )
494
491
if isdefined (self .inputs .mgx ) and self .inputs .mgx :
495
492
outputs ["mgx_ctxgm" ] = os .path .join (pvcdir , "mgx.ctxgm.nii.gz" )
0 commit comments