From d8ab59bcbf998aea831c15260af9c69eeebab139 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Mon, 11 Mar 2024 11:35:34 -0400 Subject: [PATCH 1/2] FIX: Add datasink fill-in step to resampling level (#3254) Closes #3253. ## Changes proposed in this pull request - Copy code used to fill in `source_file` and `base_directory` fields for reportlet datasinks in `init_bold_wf` for the `full` level to the `resampling` level as well. - AFAICT, the only reportlets that should be generated by the resampling level are `ds_report_t2scomp` and `ds_report_t2star_hist`, so I could directly add these fields to those nodes, but this approach seems more robust. --- fmriprep/workflows/bold/base.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fmriprep/workflows/bold/base.py b/fmriprep/workflows/bold/base.py index c7289c6d0..2643b8291 100644 --- a/fmriprep/workflows/bold/base.py +++ b/fmriprep/workflows/bold/base.py @@ -372,6 +372,11 @@ def init_bold_wf( ]) # fmt:skip if config.workflow.level == "resampling": + # Fill-in datasinks of reportlets seen so far + for node in workflow.list_node_names(): + if node.split('.')[-1].startswith('ds_report'): + workflow.get_node(node).inputs.base_directory = fmriprep_dir + workflow.get_node(node).inputs.source_file = bold_file return workflow # Resample to anatomical space From 6c95ebe3bddd013d8431ca4277ca7f4716654c15 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Mon, 6 May 2024 10:43:10 -0400 Subject: [PATCH 2/2] REL: 23.2.2 --- CHANGES.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 728df74d2..997defe18 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,12 @@ +23.2.2 (May 06, 2024) +===================== +Bug fix release in the 23.2.x series. + +Fixes an issue with broken connections, which only affects ``--level resampling``. + +* FIX: Add datasink fill-in step to resampling level (#3254) + + 23.2.1 (March 06, 2024) ======================= Bug fix release in the 23.2.x series.