Skip to content

Commit ced00b1

Browse files
authored
Merge pull request #5 from bendhouseart/update_petsurfer
formatted with black
2 parents 15eb049 + 0df01a7 commit ced00b1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

nipype/interfaces/freesurfer/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ class GLMFitInputSpec(FSTraitedSpec):
421421
desc="RefTac TimeSec tstar : perform Logan kinetic modeling",
422422
)
423423
bp_clip_neg = traits.Bool(
424-
argstr="--bp-clip-neg",
424+
argstr="--bp-clip-neg",
425425
desc="set negative BP voxels to zero",
426426
)
427427
bp_clip_max = traits.Float(

nipype/interfaces/freesurfer/petsurfer.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -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+
477478
class 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

Comments
 (0)