Skip to content

Commit 63689e4

Browse files
committed
back to mandatory=True for input features image_to_align and deformation_file in spm process Normalize12
1 parent a4d15c1 commit 63689e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nipype/interfaces/spm/preprocess.py

+2
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,7 @@ class Normalize12InputSpec(SPMCommandInputSpec):
12901290
field="subj.vol",
12911291
desc=("file to estimate normalization parameters with"),
12921292
xor=["deformation_file"],
1293+
mandatory=True,
12931294
copyfile=True,
12941295
)
12951296
apply_to_files = InputMultiPath(
@@ -1302,6 +1303,7 @@ class Normalize12InputSpec(SPMCommandInputSpec):
13021303
)
13031304
deformation_file = ImageFileSPM(
13041305
field="subj.def",
1306+
mandatory=True,
13051307
xor=["image_to_align", "tpm"],
13061308
copyfile=False,
13071309
desc=(

0 commit comments

Comments
 (0)