Skip to content

Commit 36aa373

Browse files
committed
feat: Add missing log messages for aslref2anat_xform
1 parent 5ae0661 commit 36aa373

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aslprep/workflows/asl/fit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,9 @@ def init_asl_fit_wf(
666666
(skullstrip_precomp_ref_wf, regref_buffer, [('outputnode.mask_file', 'aslmask')])
667667
]) # fmt:skip
668668

669+
# Stage 5: Register ASL to anatomical space
669670
if not aslref2anat_xform:
671+
config.loggers.workflow.info('Stage 5: Adding coregistration workflow')
670672
use_bbr = (
671673
True
672674
if 'bbr' in config.workflow.force
@@ -715,6 +717,7 @@ def init_asl_fit_wf(
715717
(asl_reg_wf, summary, [('outputnode.fallback', 'fallback')]),
716718
]) # fmt:skip
717719
else:
720+
config.loggers.workflow.info('Found coregistration transform - skipping Stage 5')
718721
outputnode.inputs.aslref2anat_xfm = aslref2anat_xform
719722

720723
return workflow

0 commit comments

Comments
 (0)