Skip to content

Commit 603ce44

Browse files
committed
FIX: Avoid running MSMSulc if CIFTI output is not requested
1 parent 75d2f62 commit 603ce44

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fmriprep/config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,12 @@ class workflow(_Config):
576576
me_t2s_fit_method = "curvefit"
577577
"""The method by which to estimate T2*/S0 for multi-echo data"""
578578

579+
@classmethod
580+
def init(cls):
581+
# Avoid additional runtime if not required
582+
if not cls.cifti_output:
583+
cls.run_msmsulc = False
584+
579585

580586
class loggers:
581587
"""Keep loggers easily accessible (see :py:func:`init`)."""

0 commit comments

Comments
 (0)