Skip to content

Commit 7b03108

Browse files
committed
ENH: Ensure fallback is used when checking template specs
1 parent 7b7ef0f commit 7b03108

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

niworkflows/anat/ants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def init_brain_extraction_wf(
196196
template_spec["suffix"] = template_spec.get("suffix", bids_suffix)
197197

198198
tpl_target_path, common_spec = get_template_specs(
199-
in_template, template_spec=template_spec
199+
in_template, template_spec=template_spec, fallback=True,
200200
)
201201

202202
# Get probabilistic brain mask if available

niworkflows/interfaces/norm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ def _get_ants_args(self):
429429
self.inputs.template,
430430
template_spec=template_spec,
431431
default_resolution=default_resolution,
432+
fallback=True,
432433
)
433434

434435
# Set reference image

0 commit comments

Comments
 (0)