Skip to content

Documentation for channel subset #186

Documentation for channel subset

Documentation for channel subset #186

Triggered via pull request September 18, 2024 19:49
Status Failure
Total duration 12m 56s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, and 1 notice
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/interpolator_reference.md:58-104 ```@example 1 using TopoPlots, CairoMakie, ScatteredInterpolation, NaturalNeighbours using TopoPlots.Makie.Random: randsubseq data = Makie.peaks(100) sampling_points = randsubseq(CartesianIndices(data), 0.011) data_slice = data[sampling_points] positions = Point2f.(Tuple.(sampling_points)) interpolators = [ SplineInterpolator(; smoothing = 7) NullInterpolator() DelaunayMesh(); CloughTocher() ScatteredInterpolationMethod(ThinPlate()) ScatteredInterpolationMethod(Shepard(3)); ScatteredInterpolationMethod(Multiquadratic()) ScatteredInterpolationMethod(InverseMultiquadratic()) ScatteredInterpolationMethod(Gaussian()); NaturalNeighboursMethod(Hiyoshi(2)) NaturalNeighboursMethod(Sibson()) NaturalNeighboursMethod(Laplace()); NaturalNeighboursMethod(Farin()) NaturalNeighboursMethod(Sibson(1)) NaturalNeighboursMethod(Nearest()); ] f = Figure(; size = (1000, 1500)) for idx in CartesianIndices(interpolators) interpolation = interpolators[idx] # precompile to get accurate measurements TopoPlots.topoplot( data_slice, positions; contours=true, interpolation=interpolation, labels = string.(1:length(positions)), colorrange=(-1, 1), label_scatter=(markersize=10,), axis=(type=Axis, title="...", aspect=DataAspect(),)) # measure time, to give an idea of what speed to expect from the different interpolators t = @Elapsed ax, pl = TopoPlots.topoplot( f[Tuple(idx)...], data_slice, positions; contours=true, interpolation=interpolation, labels = string.(1:length(positions)), colorrange=(-1, 1), label_scatter=(markersize=10,), axis=(type=Axis, title="$(typeof(interpolation))()",aspect=DataAspect(),)) ax.title = ("$(typeof(interpolation))() - $(round(t, digits=2))s") if interpolation isa Union{NaturalNeighboursMethod, ScatteredInterpolationMethod} ax.title = "$(typeof(interpolation))() - $(round(t, digits=2))s" ax.subtitle = string(typeof(interpolation.method)) end end f ``` exception = The required storage space exceeds the available storage space: nxest or nyest too small, or s too small. Try increasing s. Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] Dierckx.Spline2D(x::Vector{Float32}, y::Vector{Float32}, z::Vector{Float64}; w::Vector{Float64}, kx::Int64, ky::Int64, s::Float64) @ Dierckx ~/.julia/packages/Dierckx/TDOyl/src/Dierckx.jl:838 [3] Spline2D @ ~/.julia/packages/Dierckx/TDOyl/src/Dierckx.jl:733 [inlined] [4] (::SplineInterpolator)(xrange::LinRange{Float32, Int64}, yrange::LinRange{Float32, Int64}, positions::Vector{GeometryBasics.Point{2, Float32}}, data::Vector{Float64}; mask::BitMatrix) @ TopoPlots ~/work/TopoPlots.jl/TopoPlots.jl/src/interpolators.jl:65 [5] SplineInterpolator @ ~/work/TopoPlots.jl/TopoPlots.jl/src/interpolators.jl:59 [inlined] [6] (::TopoPlots.var"#38#44")(interpolation::SplineInterpolator, xg::LinRange{Float32, Int64}, yg::LinRange{Float32, Int64}, ::Tuple{Vector{GeometryBasics.Point{2, Float32}}, Vector{Float64}, GeometryBasics.HyperRectangle{2, Float32}, GeometryBasics.HyperRectangle{2, Float32}}, mask::BitMatrix) @ TopoPlots ~/work/TopoPlots.jl/TopoPlots.jl/src/core-recipe.jl:119 [7] map(::TopoPlots.var"#38#44", ::Union{Makie.Scene, MakieCore.Plot}, ::Observables.Observable{Any}, ::Observables.Observable{LinRange{Float32, Int64}}, ::Vararg{Any}; ignore_equal_values::Bool, priority::Int64) @ Makie ~/.julia/packages/Makie/gG38B/src/scenes.jl:167 [8] map(::TopoPlots.var"#38#44", ::Union{Makie.Scene, MakieCore.Plot}, ::Observables.Observable{Any}, ::Observables.Observable{LinRange{Float32, Int64}}, ::Vararg{Any}) @ Makie ~/.julia/packages/Makie/gG38B/src/scenes.jl:164 [9] plot!(p::MakieCore.Plot{TopoPlots.topoplot, Tuple{Vector{Float64}, Vector{GeometryBasics.Point{2, Float32}}}}) @ TopoPlots ~/work/TopoPlots.jl/TopoPlots.jl/src/core-rec
Documentation
Process completed with exit code 1.
Julia 1 - ubuntu-latest - x64
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`