Skip to content

Commit 79f7f89

Browse files
oestebaneffigies
andauthored
Update fmriprep/workflows/bold/base.py
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent fffa1c2 commit 79f7f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def init_func_preproc_wf(
357357
fmaps.append({'suffix': 'syn'})
358358

359359
# Short circuits: (True and True and (False or 'TooShort')) == 'TooShort'
360-
run_stc = (metadata.get("SliceTiming", False) and
360+
run_stc = (bool(metadata.get("SliceTiming")) and
361361
'slicetiming' not in ignore and
362362
(_get_series_len(ref_file) > 4 or "TooShort"))
363363

0 commit comments

Comments
 (0)