@@ -460,7 +460,7 @@ class GTMPVCOutputSpec(TraitedSpec):
460460 )
461461 eres = File (
462462 desc = "4D PET file of residual error after PVC (smoothed with PSF)" ,
463- )
463+ )
464464 tissue_fraction = File (
465465 desc = "4D PET file of tissue fraction before PVC" ,
466466 )
@@ -474,6 +474,7 @@ class GTMPVCOutputSpec(TraitedSpec):
474474 desc = "Color table file for segmentation file" ,
475475 )
476476
477+
477478class GTMPVC (FSCommand ):
478479 """Perform Partial Volume Correction (PVC) to PET Data.
479480
@@ -551,8 +552,12 @@ def _list_outputs(self):
551552 outputs ["reg_pet2anat" ] = os .path .join (pvcdir , "aux" , "bbpet2anat.lta" )
552553 outputs ["reg_anat2pet" ] = os .path .join (pvcdir , "aux" , "anat2bbpet.lta" )
553554 outputs ["eres" ] = os .path .join (pvcdir , "eres.nii.gz" )
554- outputs ["tissue_fraction" ] = os .path .join (pvcdir , "aux" , "tissue.fraction.nii.gz" )
555- outputs ["tissue_fraction_psf" ] = os .path .join (pvcdir , "aux" , "tissue.fraction.psf.nii.gz" )
555+ outputs ["tissue_fraction" ] = os .path .join (
556+ pvcdir , "aux" , "tissue.fraction.nii.gz"
557+ )
558+ outputs ["tissue_fraction_psf" ] = os .path .join (
559+ pvcdir , "aux" , "tissue.fraction.psf.nii.gz"
560+ )
556561 outputs ["seg" ] = os .path .join (pvcdir , "aux" , "seg.nii.gz" )
557562 outputs ["seg_ctab" ] = os .path .join (pvcdir , "aux" , "seg.ctab" )
558563
0 commit comments