Skip to content

Commit ddcee99

Browse files
committed
FIX: Remove brittle query
1 parent 8ef0153 commit ddcee99

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fmriprep/workflows/bold/fit.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,6 @@ def init_bold_fit_wf(
216216
layout=layout,
217217
)
218218

219-
# T2w is not required, but if available, use to improve BOLD -> anat coreg
220-
has_t2w = bool(
221-
layout.get(suffix='T2w', extension=['.nii', '.nii.gz'], **bids_filters.get('t2w', {}))
222-
)
223-
224219
basename = os.path.basename(bold_file)
225220
sbref_msg = f"No single-band-reference found for {basename}."
226221
if sbref_files and "sbref" in config.workflow.ignore:

0 commit comments

Comments
 (0)