Skip to content

Commit

Permalink
Codecov bug hack (#74)
Browse files Browse the repository at this point in the history
* Codecov bug hack

* fix comment
  • Loading branch information
JeffFessler authored Jan 7, 2025
1 parent f7ec926 commit e0651e2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/fbp/window.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ end
# specific window shapes

struct NoWindow <: AbstractWindowShape end
window(w::Window{NoWindow}, width::Real, n::Int) = 1
window(w::Window{NoWindow}, width::Real, n::Int) = 1 # COV_EXCL_LINE

struct Boxcar <: AbstractWindowShape end
window(w::Window{Boxcar}, width::Real, n::Int) = abs(n) < (width / 2)
Expand Down
2 changes: 1 addition & 1 deletion src/fbp2/back-fan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function fbp_back_fan!(
dsd/ds, dso/ds, source_offset/ds, is_arc,
wb, xc_ds[c[1]], yc_ds[c[2]]; T,
)
end
end # COV_EXCL_LINE

return image
end
Expand Down
2 changes: 1 addition & 1 deletion src/fbp2/back-par.jl
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function fbp_back_par!(
sino, sinϕ, cosϕ,
wb, xc_ds[c[1]], yc_ds[c[2]]; T,
)
end
end # COV_EXCL_LINE

#=
# similar speed
Expand Down
2 changes: 1 addition & 1 deletion src/fbp3/cbct-back.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function cbct_back_fan!(
dsd / ds, dso / ds, is_arc,
xc_ds[c[1]], yc_ds[c[2]], zc_ds[c[3]],
)
end
end # COV_EXCL_LINE

return image
end
Expand Down
3 changes: 1 addition & 2 deletions test/ext0.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ using Sinograms: ct_geom_plot2!, ct_geom_plot3
using Test: @test_throws, @testset

@testset "ext0" begin
# todo
# @test_throws String sino_plot_rays()
@test_throws String sino_plot_rays()
@test_throws String sino_geom_plot!()
@test_throws String ct_geom_plot2!()
@test_throws String ct_geom_plot3()
Expand Down

0 comments on commit e0651e2

Please sign in to comment.