Skip to content

Commit e5124cc

Browse files
committed
FIX: Another catch
1 parent 72dd979 commit e5124cc

File tree

1 file changed

+5
-1
lines changed
  • nibabies/workflows/anatomical

1 file changed

+5
-1
lines changed

nibabies/workflows/anatomical/fit.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ def init_infant_anat_fit_wf(
940940

941941
workflow.__desc__ = desc
942942

943-
if not recon_method:
943+
if recon_method is None:
944944
LOGGER.info('ANAT Skipping Stages 6+')
945945
return workflow
946946

@@ -1765,6 +1765,10 @@ def init_infant_single_anat_fit_wf(
17651765

17661766
workflow.__desc__ = desc
17671767

1768+
if recon_method is None:
1769+
LOGGER.info('ANAT Skipping Stages 5+')
1770+
return workflow
1771+
17681772
# Stage 5: Surface reconstruction
17691773
if recon_method == 'mcribs':
17701774
if reference_anat == 'T1w':

0 commit comments

Comments
 (0)