Skip to content

new tutorial, removed dbugstatement #74

new tutorial, removed dbugstatement

new tutorial, removed dbugstatement #74

Triggered via push October 7, 2023 14:42
Status Failure
Total duration 32m 13s
Artifacts

CI.yml

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

Annotations

2 errors and 2 warnings
Documentation: ../../../.julia/packages/Documenter/9kOxY/src/utilities/utilities.jl#L44
failed to run `@example` block in src/literate/HowTo/newComponent.md:57-77 ```@example newComponent function basis_shiftduration(evts,maxlength) basis = hanning.(Int.(round.(evts.duration))) ## hanning as long as duration if "shift" ∈ names(evts) basis = padarray.(basis,Int.(round.(.-evts.shift)),0) ## shift by adding 0 in front end # we should make sure that all bases have maxlength by appending / truncating difftomax = maxlength .- length.(basis) if any(difftomax.<0) @warn "basis longer than max length in at least one case. either increase maxlength or redefine function. Trying to truncate the basis" basis[difftomax .>0] = padarray.(basis[difftomax .> 0],difftomax[difftomax .> 0],0) return [b[1:maxlength] for b in basis] else return padarray.(basis,difftomax,0) end end erp = Unfold.simulate(MersenneTwister(1),TimeVaryingComponent(basis_shiftduration,50),design) heatmap(hcat(erp...)) ``` exception = UndefVarError: `simulate` not defined Stacktrace: [1] getproperty(x::Module, f::Symbol) @ Base ./Base.jl:31 [2] top-level scope @ newComponent.md:75 [3] eval @ ./boot.jl:370 [inlined] [4] #54 @ ~/.julia/packages/Documenter/9kOxY/src/expander_pipeline.jl:738 [inlined] [5] cd(f::Documenter.var"#54#56"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [6] (::Documenter.var"#53#55"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/9kOxY/src/expander_pipeline.jl:737 [7] (::IOCapture.var"#3#5"{DataType, Documenter.var"#53#55"{Documenter.Page, Module, Expr}, Task, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:119 [8] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:514 [9] with_logger @ ./logging.jl:626 [inlined] [10] capture(f::Documenter.var"#53#55"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool) @ IOCapture ~/.julia/packages/IOCapture/8Uj7o/src/IOCapture.jl:116 [11] runner(#unused#::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/9kOxY/src/expander_pipeline.jl:736
Documentation
Process completed with exit code 1.
Julia 1.8 - ubuntu-latest - x64 - push
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
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/