Skip to content

formatted with black #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nipype/interfaces/freesurfer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ class GLMFitInputSpec(FSTraitedSpec):
desc="RefTac TimeSec tstar : perform Logan kinetic modeling",
)
bp_clip_neg = traits.Bool(
argstr="--bp-clip-neg",
argstr="--bp-clip-neg",
desc="set negative BP voxels to zero",
)
bp_clip_max = traits.Float(
Expand Down
11 changes: 8 additions & 3 deletions nipype/interfaces/freesurfer/petsurfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ class GTMPVCOutputSpec(TraitedSpec):
)
eres = File(
desc="4D PET file of residual error after PVC (smoothed with PSF)",
)
)
tissue_fraction = File(
desc="4D PET file of tissue fraction before PVC",
)
Expand All @@ -474,6 +474,7 @@ class GTMPVCOutputSpec(TraitedSpec):
desc="Color table file for segmentation file",
)


class GTMPVC(FSCommand):
"""Perform Partial Volume Correction (PVC) to PET Data.

Expand Down Expand Up @@ -551,8 +552,12 @@ def _list_outputs(self):
outputs["reg_pet2anat"] = os.path.join(pvcdir, "aux", "bbpet2anat.lta")
outputs["reg_anat2pet"] = os.path.join(pvcdir, "aux", "anat2bbpet.lta")
outputs["eres"] = os.path.join(pvcdir, "eres.nii.gz")
outputs["tissue_fraction"] = os.path.join(pvcdir, "aux", "tissue.fraction.nii.gz")
outputs["tissue_fraction_psf"] = os.path.join(pvcdir, "aux", "tissue.fraction.psf.nii.gz")
outputs["tissue_fraction"] = os.path.join(
pvcdir, "aux", "tissue.fraction.nii.gz"
)
outputs["tissue_fraction_psf"] = os.path.join(
pvcdir, "aux", "tissue.fraction.psf.nii.gz"
)
outputs["seg"] = os.path.join(pvcdir, "aux", "seg.nii.gz")
outputs["seg_ctab"] = os.path.join(pvcdir, "aux", "seg.ctab")

Expand Down