funkelab / motile

Multi-Object Tracker using Integer Linear Equations
https://funkelab.github.io/motile/
MIT License
24 stars 5 forks source link

Check for instance of TrackGraph passed to solver #67

Closed tlambert03 closed 7 months ago

tlambert03 commented 10 months ago

@cmalinmayor and I were just hacking on something and passed an instance of networkx graph to Solver, which is incorrect (it should be a TrackGraph)... but that's an easy mistake to make, and it should be either cast implicitly, with warning, or an error should be raised