Skip to content

Commit 8752355

Browse files
committed
Merge branch 'add_pet_freesurfer' of https://github.com/mnoergaard/nipype into add_pet_freesurfer
2 parents 17ecdf1 + ece09f3 commit 8752355

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nipype/interfaces/freesurfer/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,9 @@ def _list_outputs(self):
519519
outputs["dof_file"] = os.path.join(glmdir, "dof.dat")
520520
# Assign the conditional outputs
521521
if self.inputs.save_residual:
522-
outputs["error_file"] = os.path.join(glmdir, "eres.{ext}")
522+
outputs["error_file"] = os.path.join(glmdir, f"eres.{ext}")
523523
if self.inputs.save_estimate:
524-
outputs["estimate_file"] = os.path.join(glmdir, "yhat.{ext}")
524+
outputs["estimate_file"] = os.path.join(glmdir, f"yhat.{ext}")
525525
if any((self.inputs.mrtm1, self.inputs.mrtm2, self.inputs.logan)):
526526
outputs["bp_file"] = os.path.join(glmdir, f"bp.{ext}")
527527
if self.inputs.mrtm1:

nipype/interfaces/freesurfer/petsurfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def _list_outputs(self):
475475
outputs["nopvc_file"] = os.path.join(pvcdir, "nopvc.nii.gz")
476476
outputs["gtm_file"] = os.path.join(pvcdir, "gtm.nii.gz")
477477
outputs["gtm_stats"] = os.path.join(pvcdir, "gtm.stats.dat")
478-
outputs["reg_pet2anat"] = os.path.join(pvcdir, "aux/bbpet2anat.lta")
478+
outputs["reg_pet2anat"] = os.path.join(pvcdir, "aux", "bbpet2anat.lta")
479479

480480
# Assign the conditional outputs
481481
if self.inputs.save_input:

0 commit comments

Comments
 (0)