funkelab / motile

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

Move example graphs into package #39

Closed bentaculum closed 1 year ago

bentaculum commented 1 year ago

Moves the three example graphs arlo_graph, toy_graph and toy_hypergraph into motile.data, similar to e.g. skimage.data. It seems useful to have a one-liner to get some small TrackGraph when prototyping in motile.

Creating and plotting a graph now works as follows:

from motile import data, plot
graph = data.arlo_graph()
plot.draw_track_graph(graph)

Graphs specific to a certain test can live directly in that test module.

codecov-commenter commented 1 year ago

Codecov Report

Merging #39 (2fbc861) into main (8defb53) will increase coverage by 0.98%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   77.12%   78.11%   +0.98%     
==========================================
  Files          28       29       +1     
  Lines         752      786      +34     
==========================================
+ Hits          580      614      +34     
  Misses        172      172              
Impacted Files Coverage Δ
motile/__init__.py 100.00% <100.00%> (ø)
motile/data.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.