Skip to content

Commit

Permalink
Fix variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Nov 10, 2024
1 parent 023c6b3 commit 2679b41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fmriprep/workflows/bold/denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def init_bold_dwidenoise_wf(
'The BOLD time-series were denoised to remove thermal noise using '
'`dwidenoise` [@tournier2019mrtrix3] '
)
if config.workflow.thermal_noise_estimator == 'nordic':
if config.workflow.thermal_denoise_method == 'nordic':
workflow.__desc__ += 'with the NORDIC method [@moeller2021noise;@dowdle2023evaluating].'

Check warning on line 114 in fmriprep/workflows/bold/denoise.py

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/bold/denoise.py#L114

Added line #L114 was not covered by tests
else:
workflow.__desc__ += (

Check warning on line 116 in fmriprep/workflows/bold/denoise.py

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/bold/denoise.py#L116

Added line #L116 was not covered by tests
Expand Down Expand Up @@ -213,7 +213,7 @@ def init_bold_dwidenoise_wf(
}
dwidenoise = pe.Node(

Check warning on line 214 in fmriprep/workflows/bold/denoise.py

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/bold/denoise.py#L214

Added line #L214 was not covered by tests
DWIDenoise(
estimator=estimator[config.workflow.thermal_noise_estimator],
estimator=estimator[config.workflow.thermal_denoise_method],
),
mem_gb=mem_gb['filesize'] * 2,
name='dwidenoise',
Expand Down

0 comments on commit 2679b41

Please sign in to comment.