Skip to content

Commit e505e3f

Browse files
authored
Merge pull request #704 from mgxd/fix/norm-mask
FIX: Alternate query for template brain mask
2 parents 0610b04 + 7832358 commit e505e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/interfaces/norm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def _get_ants_args(self):
444444
# Get the template specified by the user.
445445
ref_mask = get_template(
446446
self.inputs.template, desc="brain", suffix="mask", **template_spec
447-
)
447+
) or get_template(self.inputs.template, label="brain", suffix="mask", **template_spec)
448448

449449
# Default is explicit masking disabled
450450
args["fixed_image"] = ref_template

0 commit comments

Comments
 (0)