Skip to content

Commit 37d5526

Browse files
committed
FIX: Guard against Undefined
1 parent 1996065 commit 37d5526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smriprep/workflows/fit/registration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def _fmt_cohort(template, spec):
265265
return template, spec
266266

267267

268-
def _set_reference(image_type, template_t1w, template_t2w):
268+
def _set_reference(image_type, template_t1w, template_t2w=None):
269269
"""
270270
Determine the normalization reference and whether histogram matching will be used.
271271

0 commit comments

Comments
 (0)