«Invalid x-limits as xlims[1] <= xlims[2] is not met for (NaN32, NaN32)»
With a problematic FIMTrack v2 table.csv file provided by Lautaro Gandara:
...
[ Info: Assuming 30-fps frame rate for FIMTrack v2 csv files
┌ Error: error handling request
│ exception =
│ Invalid x-limits as xlims[1] <= xlims[2] is not met for (NaN32, NaN32).
│ Stacktrace:
...
│ [5] limits!(ax::Makie.Axis, x1::Float64, x2::Float64, y1::Float64, y2::Float64)
│ @ Makie /usr/local/share/julia/packages/Makie/Ppzqh/src/makielayout/blocks/axis.jl:1278
│ [6] setbounds!(view::Makie.Axis, ctrl::LarvaTagger.LarvaController, data::LarvaTagger.DecoratedLarvae)
│ @ LarvaTagger /app/src/controllers.jl:304
│ [7] LarvaTagger.AssayPlot(ctrl::LarvaTagger.LarvaController, larvae::LarvaTagger.DecoratedLarvae; size::Tuple{Int64, Int64})
│ @ LarvaTagger /app/src/wgl.jl:129
│ [8] AssayPlot
│ @ /app/src/wgl.jl:120 [inlined]
│ [9] LarvaTagger.AssayPlot(ctrl::LarvaTagger.LarvaController, larvae::Vector{LarvaTagger.LarvaModel}, visible::Observables.Observable{Bool}; downsampling_threshold::Float64, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│ @ LarvaTagger /app/src/wgl.jl:145
│ [10] AssayPlot
│ @ /app/src/wgl.jl:137 [inlined]
│ [11] #AssayPlot#200
│ @ /app/src/wgl.jl:155 [inlined]
│ [12] AssayPlot
│ @ /app/src/wgl.jl:154 [inlined]
│ [13] #assayplot#201
│ @ /app/src/wgl.jl:159 [inlined]
│ [14] assayplot(data::Dict{UInt16, LarvaTagger.LarvaModel}, ctrl::LarvaTagger.LarvaController, args::Observables.Observable{Bool})
│ @ LarvaTagger /app/src/wgl.jl:158
│ [15] assayviewer(controller::LarvaTagger.LarvaController)
│ @ LarvaTagger /app/src/wgl.jl:427
│ [16] larvaviewer(controller::LarvaTagger.ControllerHub; editabletags::Bool, multipletags::Nothing)
│ @ LarvaTagger /app/src/viewer.jl:88
│ [17] (::LarvaTagger.var"#302#303"{Nothing, String, Base.RefValue{Union{Nothing, String}}})(session::JSServe.Session)
│ @ LarvaTagger /app/src/editor.jl:45
...
This is caused by NaN in some outlines, hinting at the root cause originating from the PlanarLarvae.FIMTrack module.