Skip to content

fix bug where statfun was not used #57

fix bug where statfun was not used

fix bug where statfun was not used #57

Triggered via pull request September 30, 2025 08:42
@behingerbehinger
synchronize #13
fix-inputbug
Status Failure
Total duration 19m 22s
Artifacts

CI.yml

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

Annotations

5 errors, 2 warnings, and 1 notice
Documentation
Process completed with exit code 1.
Documentation: ../../../.julia/packages/Documenter/eoWm2/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/tutorials/eeg-multichannel.md:119-127 ```@example eeg-multichannel pvals = clusterdepth(data; τ=1.6, nperm=200); fig, ax, hm = heatmap(transpose(pvals), colorscale=log10) ax.title = "pvals"; ax.xlabel = "time"; ax.ylabel = "channel"; Colorbar(fig[:, end+1], hm); fig ``` exception = UndefVarError: `data` not defined in `Main.var"__atexample__named__eeg-multichannel"` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name may be made accessible by importing BaseDirs in the current active module Main Hint: a global variable of this name may be made accessible by importing AlgebraOfGraphics in the current active module Main Stacktrace: [1] top-level scope @ eeg-multichannel.md:120 [2] eval @ ./boot.jl:430 [inlined] [3] #59 @ ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:856 [inlined] [4] cd(f::Documenter.var"#59#61"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#58#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:855 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:524 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:635 [9] capture(f::Documenter.var"#58#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:854
Documentation: ../../../.julia/packages/Documenter/eoWm2/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/tutorials/eeg-multichannel.md:96-113 ```@example eeg-multichannel positions = [ Point2f(p[1] + 0.5, p[2] + 0.5) for p in to_positions(headmodel_HArtMuT.electrodes["pos"]') ] df = UnfoldMakie.eeg_array_to_dataframe( mean(data, dims=3)[:, :, 1], string.(1:length(positions)), ); Δbin = 20 # 20 samples / bin plot_topoplotseries( df, bin_width=20, positions=positions, visual=(; enlarge=1, label_scatter=false), ) ``` exception = UndefVarError: `data` not defined in `Main.var"__atexample__named__eeg-multichannel"` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name may be made accessible by importing BaseDirs in the current active module Main Hint: a global variable of this name may be made accessible by importing AlgebraOfGraphics in the current active module Main Stacktrace: [1] top-level scope @ eeg-multichannel.md:100 [2] eval @ ./boot.jl:430 [inlined] [3] #59 @ ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:856 [inlined] [4] cd(f::Documenter.var"#59#61"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#58#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:855 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:524 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:635 [9] capture(f::Documenter.var"#58#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:854
Documentation: ../../../.julia/packages/Documenter/eoWm2/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/tutorials/eeg-multichannel.md:81-92 ```@example eeg-multichannel f = Figure() Axis(f[1, 1], title="Single channel, all trials", xlabel="time", ylabel="y") series!(data[1, :, :]', solid_color=(:black, 0.1)) lines!(mean(data[1, :, :], dims=2)[:, 1], color=:red) hlines!([0], color=:gray) Axis(f[2, 1], title="All channels, average over trials", xlabel="time", ylabel="y") series!(mean(data, dims=3)[:, :, 1], solid_color=(:black, 0.1)) hlines!([0], color=:gray) f ``` exception = UndefVarError: `data` not defined in `Main.var"__atexample__named__eeg-multichannel"` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name may be made accessible by importing BaseDirs in the current active module Main Hint: a global variable of this name may be made accessible by importing AlgebraOfGraphics in the current active module Main Stacktrace: [1] top-level scope @ eeg-multichannel.md:84 [2] eval @ ./boot.jl:430 [inlined] [3] #59 @ ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:856 [inlined] [4] cd(f::Documenter.var"#59#61"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#58#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:855 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:524 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:635 [9] capture(f::Documenter.var"#58#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:854
Documentation: ../../../.julia/packages/Documenter/eoWm2/src/utilities/utilities.jl#L47
failed to run `@example` block in docs/src/tutorials/eeg-multichannel.md:46-76 ```@example eeg-multichannel src_coords = [ [20, -78, -10], #p100 [-20, -78, -10], #p100 [50, -40, -25], #n170 [0, -50, 40], #p300 [0, 5, 20], #p300 ]; headmodel_HArtMuT = headmodel() get_closest = coord -> UnfoldSim.closest_src(coord, headmodel_HArtMuT.cortical["pos"]) |> pi -> magnitude(headmodel_HArtMuT; type="perpendicular")[:, pi] p1_l = p1 |> c -> MultichannelComponent(c, get_closest([-20, -78, -10])) p1_r = p1 |> c -> MultichannelComponent(c, get_closest([20, -78, -10])) n170_r = n170 |> c -> MultichannelComponent(c, get_closest([50, -40, -25])) p300_do = p300 |> c -> MultichannelComponent(c, get_closest([0, -50, -40])) p300_up = p300 |> c -> MultichannelComponent(c, get_closest([0, 5, 20])) data, events = simulate( MersenneTwister(1), design, [p1_l, p1_r, n170_r, p300_do, p300_up], UniformOnset(; offset=0.5 * 250, width=100), RedNoise(noiselevel=1); return_epoched=true, ); nothing #hide ``` exception = MethodError: no method matching magnitude(::UnfoldSim.Hartmut; type::String) This method may not support any kwargs. Closest candidates are: magnitude(::UnfoldSim.AbstractHeadmodel) got unsupported keyword argument "type" @ UnfoldSim ~/.julia/packages/UnfoldSim/AtAhw/src/headmodel.jl:199 magnitude(!Matched::AbstractArray{T, 3}, !Matched::AbstractMatrix{T}) where T<:Real got unsupported keyword argument "type" @ UnfoldSim ~/.julia/packages/UnfoldSim/AtAhw/src/headmodel.jl:227 Stacktrace: [1] (::Main.var"__atexample__named__eeg-multichannel".var"#4#6")(pi::Int64) @ Main.var"__atexample__named__eeg-multichannel" ./eeg-multichannel.md:59 [2] |>(x::Int64, f::Main.var"__atexample__named__eeg-multichannel".var"#4#6") @ Base ./operators.jl:926 [3] (::Main.var"__atexample__named__eeg-multichannel".var"#3#5")(coord::Vector{Int64}) @ Main.var"__atexample__named__eeg-multichannel" ./eeg-multichannel.md:57 [4] (::Main.var"__atexample__named__eeg-multichannel".var"#7#8")(c::UnfoldSim.LinearModelComponent) @ Main.var"__atexample__named__eeg-multichannel" ./eeg-multichannel.md:61 [5] |>(x::UnfoldSim.LinearModelComponent, f::Main.var"__atexample__named__eeg-multichannel".var"#7#8") @ Base ./operators.jl:926 [6] top-level scope @ eeg-multichannel.md:61 [7] eval @ ./boot.jl:430 [inlined] [8] #59 @ ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:856 [inlined] [9] cd(f::Documenter.var"#59#61"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [10] (::Documenter.var"#58#60"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:855 [11] (::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [12] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#58#60"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:524 [13] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:635 [14] capture(f::Documenter.var"#58#60"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [15] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/eoWm2/src/expander_pipeline.jl:854
Julia nightly - ubuntu-latest - x64 - pull_request
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0T5jbaAAAAAAK0mroAZxWS68bY1Vo5+A7UEhMMzBFREdFMDQxNABFZGdl
Julia nightly - ubuntu-latest - x64 - pull_request
Failed to restore: Cache service responded with 400
[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`