Skip to content

Commit

Permalink
FIX: Connect EPI-to-fieldmap transform (#3099)
Browse files Browse the repository at this point in the history
## Changes proposed in this pull request

We were calculating a registration but not passing it to `unwarp_wf`.
  • Loading branch information
effigies authored Oct 3, 2023
1 parent 2e1ee97 commit 26ae4cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fmriprep/workflows/bold/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ def init_bold_fit_wf(
(fmap_select, unwarp_wf, [
("fmap_coeff", "inputnode.fmap_coeff"),
]),
(fmapreg_buffer, unwarp_wf, [
("boldref2fmap_xfm", "inputnode.data2fmap_xfm"),
]),
(enhance_boldref_wf, unwarp_wf, [
('outputnode.bias_corrected_file', 'inputnode.distorted'),
]),
Expand Down
1 change: 1 addition & 0 deletions fmriprep/workflows/bold/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ def init_func_fit_reports_wf(
SimpleBeforeAfter(
before_label="T1w",
after_label="EPI",
dismiss_affine=True,
),
name="epi_t1_report",
mem_gb=0.1,
Expand Down

0 comments on commit 26ae4cd

Please sign in to comment.