We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34edca0 commit 4280633Copy full SHA for 4280633
fmriprep/workflows/base.py
@@ -412,7 +412,10 @@ def init_single_subject_wf(
412
413
if config.workflow.fs_legacy_id:
414
config.loggers.workflow.info(f'Using legacy FreeSurfer subject ID: sub-{subject_id}')
415
- if config.workflow.subject_anatomical_reference == 'sessionwise' and session_id is not None:
+ if (
416
+ config.workflow.subject_anatomical_reference == 'sessionwise'
417
+ and session_id is not None
418
+ ):
419
msg = 'Session-wise anatomical reference is incompatible with legacy FreeSurfer subject IDs.'
420
config.loggers.workflow.error(msg)
421
raise RuntimeError(msg)
0 commit comments