Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
korbinian90 committed Nov 22, 2024
1 parent 725ecc2 commit 60523fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/methods.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ B0 = calculateB0_unwrapped(unwrapped, mag_nii, TEs, :TEs)
@test all(isfinite.(B0))
B0 = calculateB0_unwrapped(unwrapped, mag_nii, TEs, :mag)
@test all(isfinite.(B0))
B0 = calculateB0_unwrapped(unwrapped, mag_nii, TEs, :magTEs)
@test all(isfinite.(B0))
B0 = calculateB0_unwrapped(unwrapped, mag_nii, TEs, :simulated_mag)
@test all(isfinite.(B0))
snr = get_B0_snr(mag_nii, TEs)
@test all(isfinite.(snr))
m = "The phase weighting option 'magTEs' is not defined!"
@test_throws ErrorException(m) B0 = calculateB0_unwrapped(unwrapped, mag_nii, TEs, :magTEs)

# make border of image noise
phase = Float32.(phase_nii)
Expand Down

2 comments on commit 60523fc

@korbinian90
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/119943

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v3.2.1 -m "<description of version>" 60523fc446282d74e3d862cbc729b497e2208cec
git push origin v3.2.1

Please sign in to comment.