@@ -73,6 +73,9 @@ def _make_func_outputs(w: Path, regressors: list[str]) -> FunctionalOutputs:
7373 template_bold = _dummy (w , "template_bold.nii.gz" ),
7474 regressed_bold = {r : _dummy (w , f"regressed_{ r } .nii.gz" ) for r in regressors },
7575 cleaned_bold = {r : _dummy (w , f"cleaned_{ r } .nii.gz" ) for r in regressors },
76+ cleaned_bold_smooth = {
77+ r : _dummy (w , f"cleaned_{ r } _smooth.nii.gz" ) for r in regressors
78+ },
7679 regressor_file = {r : _dummy (w , f"regressors_{ r } .1D" ) for r in regressors },
7780 template_brain_mask = _dummy (w , "template_mask.nii.gz" ),
7881 )
@@ -235,7 +238,7 @@ def test_sanitizes_atlas_labels(
235238 mni = func_bids .derive (space = "MNI152NLin6Asym" )
236239 outputs = _make_metrics_outputs (workdir , ["schaefer_200" ])
237240 export_metrics (
238- mni , outputs , regressor = "36-parameter" , atlases = ["schaefer_200" ], fwhm = 6.0
241+ mni , outputs , regressor = "36-parameter" , atlases = ["schaefer_200" ], smooth = 6.0
239242 )
240243 atlas_files = [
241244 p .name for p in pipe_ctx .output_dir .rglob ("*.*" ) if "atlas-" in p .name
@@ -252,7 +255,7 @@ def test_sanitizes_regressor_labels(
252255 mni = func_bids .derive (space = "MNI152NLin6Asym" )
253256 outputs = _make_metrics_outputs (workdir , ["aal" ])
254257 export_metrics (
255- mni , outputs , regressor = "36-parameter" , atlases = ["aal" ], fwhm = 6.0
258+ mni , outputs , regressor = "36-parameter" , atlases = ["aal" ], smooth = 6.0
256259 )
257260 all_names = [p .name for p in pipe_ctx .output_dir .rglob ("*.*" )]
258261 reg_files = [n for n in all_names if "reg-" in n ]
@@ -267,7 +270,7 @@ def test_file_count_single_atlas(
267270 mni = func_bids .derive (space = "MNI152NLin6Asym" )
268271 outputs = _make_metrics_outputs (workdir , ["schaefer_200" ])
269272 export_metrics (
270- mni , outputs , regressor = "aCompCor" , atlases = ["schaefer_200" ], fwhm = 6.0
273+ mni , outputs , regressor = "aCompCor" , atlases = ["schaefer_200" ], smooth = 6.0
271274 )
272275 saved = list (pipe_ctx .output_dir .rglob ("*.*" ))
273276 assert len (saved ) == 8
@@ -279,7 +282,7 @@ def test_file_count_multiple_atlases(
279282 atlases = ["schaefer_200" , "aal" ]
280283 mni = func_bids .derive (space = "MNI152NLin6Asym" )
281284 outputs = _make_metrics_outputs (workdir , atlases )
282- export_metrics (mni , outputs , regressor = "aCompCor" , atlases = atlases , fwhm = 6.0 )
285+ export_metrics (mni , outputs , regressor = "aCompCor" , atlases = atlases , smooth = 6.0 )
283286 saved = list (pipe_ctx .output_dir .rglob ("*.*" ))
284287 assert len (saved ) == 10
285288
0 commit comments