Skip to content

Commit

Permalink
Fix ext args (#67)
Browse files Browse the repository at this point in the history
* Fix ext args

* Add CODECOV_TOKEN
  • Loading branch information
JeffFessler authored May 18, 2024
1 parent f130aa9 commit c066726
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ jobs:
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 0 additions & 1 deletion ext/sino-plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Make a scatter plot of the `(r, ϕ)` sample locations for all rays.
Needs `Plots`.
"""
function sino_plot_rays(rg::SinoGeom; kwargs...)
# r, phi = rays(rg)
i = rays(rg)
r = [i[1] for i in i]
ϕ = [i[2] for i in i]
Expand Down
8 changes: 4 additions & 4 deletions src/exts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
export sino_plot_rays, sino_geom_plot!
export ct_geom_plot2!, ct_geom_plot3

sino_plot_rays(::Nothing) = throw("Run `using Plots` first")
sino_geom_plot!(::Nothing) = throw("Run `using Plots` first")
sino_plot_rays(args...; kwargs...) = throw("First run `using Plots`")
sino_geom_plot!(args...; kwargs...) = throw("First run `using Plots`")

ct_geom_plot2!(::Nothing) = throw("Run `using Plots` first")
ct_geom_plot3(::Nothing) = throw("Run `using Plots` first")
ct_geom_plot2!(args...; kwargs...) = throw("First run `using Plots`")
ct_geom_plot3(args...; kwargs...) = throw("First run `using Plots`")

0 comments on commit c066726

Please sign in to comment.