Skip to content

Building pyramids on classified rqaresults fail #117

@felixcremer

Description

@felixcremer

Trying to build a pyramid from the classified RQA results fails with the following error:

ERROR: TaskFailedException

    nested task error: MethodError: Cannot `convert` an object of type Missing to an object of type Float64
    The function `convert` exists, but no method is defined for this combination of argument types.
    
    Closest candidates are:
      convert(::Type{T}, ::T) where T
       @ Base Base.jl:126
      convert(::Type{T}, ::VectorizationBase.AbstractSIMD) where T<:Union{Bool, Float16, Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, SIMDTypes.Bit}
       @ VectorizationBase ~/.julia/packages/VectorizationBase/wHnQd/src/base_defs.jl:201
      convert(::Type{T}, ::Ratios.SimpleRatio{S}) where {T<:AbstractFloat, S}
       @ Ratios ~/.julia/packages/Ratios/FsiCW/src/Ratios.jl:51
      ...
    
    Stacktrace:
      [1] setindex!
        @ ./array.jl:994 [inlined]
      [2] setindex!
        @ ./subarray.jl:372 [inlined]
      [3] aggregate_by_factor(xout::SubArray{…}, x::SubArray{…}, f::typeof(Statistics.mean))
        @ PyramidScheme /mnt/felix1/worldmap/dev/PyramidScheme/src/PyramidScheme.jl:172
      [4] all_pyramids!
        @ /mnt/felix1/worldmap/dev/PyramidScheme/src/PyramidScheme.jl:188 [inlined]
      [5] #gen_pyr#13
        @ /mnt/felix1/worldmap/dev/PyramidScheme/src/PyramidScheme.jl:203 [inlined]
      [6] gen_pyr
        @ /mnt/felix1/worldmap/dev/PyramidScheme/src/PyramidScheme.jl:200 [inlined]
      [7] CapturedArgsFunc
        @ /mnt/felix1/worldmap/dev/DiskArrayEngine/src/userfuncs.jl:46 [inlined]
      [8] apply_function
        @ /mnt/felix1/worldmap/dev/DiskArrayEngine/src/userfuncs.jl:82 [inlined]
      [9] innercode(cI::CartesianIndex{…}, f::DiskArrayEngine.ElementFunction{…}, xin::Tuple{…}, xout::NTuple{…})
        @ DiskArrayEngine /mnt/felix1/worldmap/dev/DiskArrayEngine/src/runner.jl:35
     [10] macro expansion
        @ /mnt/felix1/worldmap/dev/DiskArrayEngine/src/runner.jl:61 [inlined]
     [11] (::DiskArrayEngine.var"#490#threadsfor_fun#156"{})(tid::Int64; onethread::Bool)
        @ DiskArrayEngine ./threadingconstructs.jl:253
     [12] #490#threadsfor_fun
        @ ./threadingconstructs.jl:220 [inlined]
     [13] (::Base.Threads.var"#1#2"{DiskArrayEngine.var"#490#threadsfor_fun#156"{}, Int64})()
        @ Base.Threads ./threadingconstructs.jl:154

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions