Skip to content

Commit 08dfd68

Browse files
mgxdeffigies
andauthored
Apply suggestions from code review
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent d5a282e commit 08dfd68

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ def init_bold_wf(
209209
"t1w_mask",
210210
"t1w_dseg",
211211
"t1w_tpms",
212-
"t2w_preproc", # Optional
213212
# FreeSurfer outputs
214213
"subjects_dir",
215214
"subject_id",
@@ -261,7 +260,6 @@ def init_bold_wf(
261260
('t1w_preproc', 'inputnode.t1w_preproc'),
262261
('t1w_mask', 'inputnode.t1w_mask'),
263262
('t1w_dseg', 'inputnode.t1w_dseg'),
264-
('t2w_preproc', 'inputnode.t2w_preproc'),
265263
('subjects_dir', 'inputnode.subjects_dir'),
266264
('subject_id', 'inputnode.subject_id'),
267265
('fsnative2t1w_xfm', 'inputnode.fsnative2t1w_xfm'),

fmriprep/workflows/bold/fit.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ def init_bold_fit_wf(
268268
"subjects_dir",
269269
"subject_id",
270270
"fsnative2t1w_xfm",
271-
# Optional - improvements if available
272-
"t2w_preproc",
273271
],
274272
),
275273
name="inputnode",

fmriprep/workflows/tests/test_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def bids_root(tmp_path_factory):
105105

106106

107107
def _make_params(
108-
bold2anat_init: str = "t1w",
108+
bold2anat_init: str = "auto",
109109
use_bbr: bool | None = None,
110110
dummy_scans: int | None = None,
111111
me_output_echos: bool = False,
@@ -163,6 +163,8 @@ def _make_params(
163163
),
164164
[
165165
_make_params(),
166+
_make_params(bold2anat_init="t1w"),
167+
_make_params(bold2anat_init="t2w"),
166168
_make_params(bold2anat_init="header"),
167169
_make_params(use_bbr=True),
168170
_make_params(use_bbr=False),

0 commit comments

Comments
 (0)