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.
1 parent f897e2e commit eb61a08Copy full SHA for eb61a08
fmriprep/workflows/bold/fit.py
@@ -216,8 +216,10 @@ def init_bold_fit_wf(
216
)
217
218
# T2w is not required, but if available, use to improve BOLD -> anat coreg
219
- has_t2w = layout.get(
220
- suffix='T2w', extension='.nii.gz', **config.execution.get().get('bids_filters', {})
+ has_t2w = bool(
+ layout.get(
221
+ suffix='T2w', extension='.nii.gz', **config.execution.get().get('bids_filters', {})
222
+ )
223
224
225
basename = os.path.basename(bold_file)
0 commit comments