Update README.md #8
CI.yml
on: pull_request
Documentation
28m 5s
Matrix: test
Annotations
2 errors
Documentation:
../../../.julia/packages/Documenter/nQAq5/src/utilities/utilities.jl#L44
failed to run `@example` block in src/literate/tutorials/overlapcorrectedLDA.md:45-50
```@example overlapcorrectedLDA
using MLJ, MultivariateStats, MLJMultivariateStatsInterface
LDA = @load LDA pkg=MultivariateStats
uf_lda = fit(UnfoldDecodingModel,des,evt,dat,LDA(),Any=>:condition;nfolds=2) # 2 folds to speed up computation
plot_erp(coeftable(uf_lda))
```
exception =
TaskFailedException
nested task error: MethodError: no method matching (::Colon)(::Int64, ::Tuple{Int64, Int64})
Closest candidates are:
(::Colon)(::T, ::Any, !Matched::T) where T<:Real
@ Base range.jl:45
(::Colon)(::A, ::Any, !Matched::C) where {A<:Real, C<:Real}
@ Base range.jl:10
(::Colon)(::A, ::Any, !Matched::C) where {A<:Real, C<:Unitful.Quantity}
@ Unitful ~/.julia/packages/Unitful/J4AJj/src/range.jl:86
...
Stacktrace:
[1] macro expansion
@ ~/work/UnfoldDecode.jl/UnfoldDecode.jl/src/fit.jl:43 [inlined]
[2] (::UnfoldDecode.var"#7#threadsfor_fun#5"{UnfoldDecode.var"#7#threadsfor_fun#4#6"{Symbol, NamedTuple{(), Tuple{}}, Dict{DataType, Tuple{StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term, StatsModels.Term}}, Unfold.FIRBasis}}, DataFrames.DataFrame, Matrix{Float64}, MLJMultivariateStatsInterface.LDA, Pair{DataType, Symbol}, Vector{UnfoldDecode.DecodingFit}, Vector{Tuple{Vector{Int64}, UnitRange{Int64}}}, UnitRange{Int64}}})(tid::Int64; onethread::Bool)
@ UnfoldDecode ./threadingconstructs.jl:200
[3] #7#threadsfor_fun
@ ./threadingconstructs.jl:167 [inlined]
[4] (::Base.Threads.var"#1#2"{UnfoldDecode.var"#7#threadsfor_fun#5"{UnfoldDecode.var"#7#threadsfor_fun#4#6"{Symbol, NamedTuple{(), Tuple{}}, Dict{DataType, Tuple{StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term, StatsModels.Term}}, Unfold.FIRBasis}}, DataFrames.DataFrame, Matrix{Float64}, MLJMultivariateStatsInterface.LDA, Pair{DataType, Symbol}, Vector{UnfoldDecode.DecodingFit}, Vector{Tuple{Vector{Int64}, UnitRange{Int64}}}, UnitRange{Int64}}}, Int64})()
@ Base.Threads ./threadingconstructs.jl:139
Stacktrace:
[1] threading_run(fun::UnfoldDecode.var"#7#threadsfor_fun#5"{UnfoldDecode.var"#7#threadsfor_fun#4#6"{Symbol, NamedTuple{(), Tuple{}}, Dict{DataType, Tuple{StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term, StatsModels.Term}}, Unfold.FIRBasis}}, DataFrames.DataFrame, Matrix{Float64}, MLJMultivariateStatsInterface.LDA, Pair{DataType, Symbol}, Vector{UnfoldDecode.DecodingFit}, Vector{Tuple{Vector{Int64}, UnitRange{Int64}}}, UnitRange{Int64}}}, static::Bool)
@ Base.Threads ./threadingconstructs.jl:157
[2] macro expansion
@ ./threadingconstructs.jl:205 [inlined]
[3] macro expansion
@ ~/.julia/packages/Unfold/AF2na/src/utilities.jl:169 [inlined]
[4] fit(UnfoldDecodingModel::Type{UnfoldDecodingModel}, design::Dict{DataType, Tuple{StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term, StatsModels.Term}}, Unfold.FIRBasis}}, tbl::DataFrames.DataFrame, dat::Matrix{Float64}, model::MLJMultivariateStatsInterface.LDA, target::Pair{DataType, Symbol}; nfolds::Int64, eventcolumn::Symbol, UnfoldFitkwargs::NamedTuple{(), Tuple{}}, multithreading::Bool)
@ UnfoldDecode ~/work/UnfoldDecode.jl/UnfoldDecode.jl/src/fit.jl:26
[5] top-level scope
@ overlapcorrectedLDA.md:48
[6] eval
@ ./boot.jl:370 [inlined]
[7] #54
@ ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:738 [inlined]
[8] cd(f::Documenter.var"#54#56"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[9] (::Documenter.var"#53#55"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/nQAq5/src/expander_pipeline.jl:737
[10] (::IOCapture
|
Documentation
Process completed with exit code 1.
|