Skip to content

Commit

Permalink
Fix the scaling factor.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Nov 10, 2024
1 parent f19181e commit f8ce527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmriprep/workflows/bold/denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def init_bold_dwidenoise_wf(

# Apply sqrt(2) scaling factor to noise map
rescale_noise = pe.Node(

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

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/bold/denoise.py#L247

Added line #L247 was not covered by tests
Calc(expr='a*sqrt(2)', outputtype='NIFTI_GZ'),
Calc(expr='a/sqrt(2)', outputtype='NIFTI_GZ'),
name='rescale_noise',
)
workflow.connect([

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

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/bold/denoise.py#L251

Added line #L251 was not covered by tests
Expand Down

0 comments on commit f8ce527

Please sign in to comment.