We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d0c823 + 79f7f89 commit b3db93eCopy full SHA for b3db93e
fmriprep/workflows/bold/base.py
@@ -354,7 +354,7 @@ def init_func_preproc_wf(
354
fmaps = fieldmap_wrangler(layout, ref_file, use_syn=use_syn, force_syn=force_syn)
355
356
# Short circuits: (True and True and (False or 'TooShort')) == 'TooShort'
357
- run_stc = ("SliceTiming" in metadata and
+ run_stc = (bool(metadata.get("SliceTiming")) and
358
'slicetiming' not in ignore and
359
(_get_series_len(ref_file) > 4 or "TooShort"))
360
0 commit comments