Skip to content

Commit f222254

Browse files
committed
[skip tests][skip ds005][skip ds054][skip ds210] fix docs
1 parent 617706b commit f222254

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
@@ -246,7 +246,7 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
246246

247247
sbref_file = None
248248
# For doc building purposes
249-
if layout is None or bold_file == 'bold_preprocesing':
249+
if not hasattr(layout, 'parse_file_entities'):
250250
LOGGER.log(25, 'No valid layout: building empty workflow.')
251251
metadata = {
252252
'RepetitionTime': 2.0,

0 commit comments

Comments
 (0)