Closed funkey closed 3 months ago
Attention: Patch coverage is 80.00000%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 91.70%. Comparing base (
825a461
) to head (fb955bc
).
Files | Patch % | Lines |
---|---|---|
motile/_types.py | 0.00% | 5 Missing :warning: |
motile/track_graph.py | 93.75% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@tlambert03 In your opinion, should we consider this codecov complaint seriously? (I fixed the docs issue and otherwise we are ready to merge, I think)
No, based on the diff, it's just telling you that this code isn't covered (and probably wasn't already before this PR). It's a slight "problem" per se, but not one specific to this PR
We had conflicting definitions of what a hyperedge is in different parts of code and documentation.
This PR defines a hyperedge as a 2-tuple of tuples (in-nodes, out-nodes). Documentation updated to reflect this.
There is now a
TrackGraph.is_hyperedge
that can be used to test whether an edge is a hyperedge (should be preferred over manualisinstance
calls). This function will also yell if a tuple is neither a normal edge nor a hyperedge as defined above.Renamed type definitions while at it as well to be shorter and more descriptive.