Skip to content

Commit 571f5c7

Browse files
committed
FIX: Add extra registrations outputs
1 parent 6a73726 commit 571f5c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nipype/interfaces/freesurfer/petsurfer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,9 @@ class GTMPVCOutputSpec(TraitedSpec):
414414
gtm_stats = File(desc="Statistics for the GTM PVC")
415415
input_file = File(desc="4D PET file in native volume space")
416416
reg_pet2anat = File(desc="Registration file to go from PET to anat")
417+
reg_anat2pet = File(desc="Registration file to go from anat to PET")
418+
reg_rbvpet2anat = File(desc="Registration file to go from RBV corrected PET to anat")
419+
reg_anat2rbvpet = File(desc="Registration file to go from anat to RBV corrected PET")
417420
mgx_ctxgm = File(
418421
desc="Cortical GM voxel-wise values corrected using the extended Muller-Gartner method",
419422
)
@@ -484,6 +487,7 @@ def _list_outputs(self):
484487
outputs["gtm_file"] = os.path.join(pvcdir, "gtm.nii.gz")
485488
outputs["gtm_stats"] = os.path.join(pvcdir, "gtm.stats.dat")
486489
outputs["reg_pet2anat"] = os.path.join(pvcdir, "aux", "bbpet2anat.lta")
490+
outputs["reg_anat2pet"] = os.path.join(pvcdir, "aux", "anat2bbpet.lta")
487491

488492
# Assign the conditional outputs
489493
if self.inputs.save_input:
@@ -502,6 +506,8 @@ def _list_outputs(self):
502506
outputs["mgx_gm"] = os.path.join(pvcdir, "mgx.gm.nii.gz")
503507
if isdefined(self.inputs.rbv) and self.inputs.rbv:
504508
outputs["rbv"] = os.path.join(pvcdir, "rbv.nii.gz")
509+
outputs["reg_rbvpet2anat"] = os.path.join(pvcdir, "aux", "rbv2anat.lta")
510+
outputs["reg_anat2rbvpet"] = os.path.join(pvcdir, "aux", "anat2rbv.lta")
505511
if isdefined(self.inputs.opt) and self.inputs.opt:
506512
outputs["opt_params"] = os.path.join(pvcdir, "aux/opt.params.dat")
507513

0 commit comments

Comments
 (0)