Skip to content

Commit 83d52f9

Browse files
authored
Merge pull request #3599 from servoz/master
Fix typo in spm.Normalize12 process
2 parents 03a2363 + 63689e4 commit 83d52f9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

nipype/interfaces/spm/preprocess.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -1485,13 +1485,7 @@ def _list_outputs(self):
14851485
outputs["deformation_field"].append(fname_presuffix(imgf, prefix="y_"))
14861486
outputs["deformation_field"] = simplify_list(outputs["deformation_field"])
14871487

1488-
if self.inputs.jobtype == "estimate":
1489-
if isdefined(self.inputs.apply_to_files):
1490-
outputs["normalized_files"] = self.inputs.apply_to_files
1491-
outputs["normalized_image"] = fname_presuffix(
1492-
self.inputs.image_to_align, prefix="w"
1493-
)
1494-
elif "write" in self.inputs.jobtype:
1488+
if "write" in self.inputs.jobtype:
14951489
outputs["normalized_files"] = []
14961490
if isdefined(self.inputs.apply_to_files):
14971491
filelist = ensure_list(self.inputs.apply_to_files)

0 commit comments

Comments
 (0)