Skip to content

sequence

sequence #262

Triggered via pull request February 25, 2024 00:01
Status Failure
Total duration 21m 43s
Artifacts

CI.yml

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

Annotations

3 errors, 4 warnings, and 1 notice
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L44
failed to run `@example` block in src/index.md:13-22 ```@example main using UnfoldSim using CairoMakie data,evts = UnfoldSim.predef_eeg(;n_repeats=1,noiselevel=0.8) lines(data;color="black") vlines!(evts.latency;color=["orange","teal"][1 .+ (evts.condition .=="car")]) current_figure() ``` exception = MethodError: Cannot `convert` an object of type Vector{Any} to an object of type Union{var"#s10", var"#s11"} where {var"#s10"<:(Dict{<:Char, <:Vector{<:AbstractComponent}}), var"#s11"<:(Vector{<:AbstractComponent})} Closest candidates are: convert(::Type{T}, !Matched::T) where T @ Base Base.jl:84 Stacktrace: [1] Simulation(design::RepeatDesign{SingleSubjectDesign}, components::Vector{Any}, onset::UniformOnset, noisetype::PinkNoise) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/types.jl:15 [2] simulate(rng::Random.MersenneTwister, design::RepeatDesign{SingleSubjectDesign}, signal::Vector{Any}, onset::UniformOnset, noise::PinkNoise; kwargs::@kwargs{}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/simulation.jl:35 [3] predef_eeg(rng::Random.MersenneTwister, design::RepeatDesign{SingleSubjectDesign}, T::Type{LinearModelComponent}, comps::Vector{Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}}, Vector{Int64}, Dict{Any, Any}}}; sfreq::Int64, noiselevel::Float64, noise::PinkNoise, overlap::Tuple{Float64, Float64}, onset::UniformOnset, kwargs::@kwargs{}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/predefinedSimulations.jl:86 [4] predef_eeg(rng::Random.MersenneTwister; n_repeats::Int64, event_order_function::Function, sfreq::Int64, p1::Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, StatsModels.ConstantTerm{Int64}}, Vector{Int64}, Dict{Any, Any}}, n1::Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term}}, Vector{Int64}, Dict{Any, Any}}, p3::Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term}}, Vector{Int64}, Dict{Any, Any}}, kwargs::@kwargs{noiselevel::Float64}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/predefinedSimulations.jl:63 [5] predef_eeg(; kwargs::@kwargs{n_repeats::Int64, noiselevel::Float64}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/predefinedSimulations.jl:6 [6] top-level scope @ index.md:16 [7] eval @ ./boot.jl:385 [inlined] [8] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [9] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [10] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [11] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [12] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [13] with_logger @ ./logging.jl:627 [inlined] [14] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [15] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L44
failed to run `@example` block in src/index.md:25-29 ```@example main data,evts = UnfoldSim.predef_eeg(;n_repeats=20,noiselevel=0.8,return_epoched=true) heatmap(data[:,sortperm(evts,[:condition,:continuous])]) ``` exception = MethodError: Cannot `convert` an object of type Vector{Any} to an object of type Union{var"#s10", var"#s11"} where {var"#s10"<:(Dict{<:Char, <:Vector{<:AbstractComponent}}), var"#s11"<:(Vector{<:AbstractComponent})} Closest candidates are: convert(::Type{T}, !Matched::T) where T @ Base Base.jl:84 Stacktrace: [1] Simulation(design::RepeatDesign{SingleSubjectDesign}, components::Vector{Any}, onset::UniformOnset, noisetype::PinkNoise) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/types.jl:15 [2] simulate(rng::Random.MersenneTwister, design::RepeatDesign{SingleSubjectDesign}, signal::Vector{Any}, onset::UniformOnset, noise::PinkNoise; kwargs::@kwargs{return_epoched::Bool}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/simulation.jl:35 [3] predef_eeg(rng::Random.MersenneTwister, design::RepeatDesign{SingleSubjectDesign}, T::Type{LinearModelComponent}, comps::Vector{Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}}, Vector{Int64}, Dict{Any, Any}}}; sfreq::Int64, noiselevel::Float64, noise::PinkNoise, overlap::Tuple{Float64, Float64}, onset::UniformOnset, kwargs::@kwargs{return_epoched::Bool}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/predefinedSimulations.jl:86 [4] predef_eeg(rng::Random.MersenneTwister; n_repeats::Int64, event_order_function::Function, sfreq::Int64, p1::Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, StatsModels.ConstantTerm{Int64}}, Vector{Int64}, Dict{Any, Any}}, n1::Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term}}, Vector{Int64}, Dict{Any, Any}}, p3::Tuple{Vector{Float64}, StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term}}, Vector{Int64}, Dict{Any, Any}}, kwargs::@kwargs{noiselevel::Float64, return_epoched::Bool}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/predefinedSimulations.jl:63 [5] predef_eeg(; kwargs::@kwargs{n_repeats::Int64, noiselevel::Float64, return_epoched::Bool}) @ UnfoldSim ~/work/UnfoldSim.jl/UnfoldSim.jl/src/predefinedSimulations.jl:6 [6] top-level scope @ index.md:27 [7] eval @ ./boot.jl:385 [inlined] [8] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [9] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [10] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [11] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [12] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [13] with_logger @ ./logging.jl:627 [inlined] [14] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [15] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation
Process completed with exit code 1.
Julia 1.8 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, codecov/codecov-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia 1.8 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
[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`