Skip to content

Commit

Permalink
Merge pull request #3599 from servoz/master
Browse files Browse the repository at this point in the history
Fix typo in spm.Normalize12 process
  • Loading branch information
effigies authored Sep 1, 2023
2 parents 03a2363 + 63689e4 commit 83d52f9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions nipype/interfaces/spm/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,13 +1485,7 @@ def _list_outputs(self):
outputs["deformation_field"].append(fname_presuffix(imgf, prefix="y_"))
outputs["deformation_field"] = simplify_list(outputs["deformation_field"])

if self.inputs.jobtype == "estimate":
if isdefined(self.inputs.apply_to_files):
outputs["normalized_files"] = self.inputs.apply_to_files
outputs["normalized_image"] = fname_presuffix(
self.inputs.image_to_align, prefix="w"
)
elif "write" in self.inputs.jobtype:
if "write" in self.inputs.jobtype:
outputs["normalized_files"] = []
if isdefined(self.inputs.apply_to_files):
filelist = ensure_list(self.inputs.apply_to_files)
Expand Down

0 comments on commit 83d52f9

Please sign in to comment.