kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

Fix dropped edges during a coalesce operation #64

Closed kuanb closed 6 years ago

kuanb commented 6 years ago

Fixes https://github.com/kuanb/peartree/issues/57

Conveniently leverages the new simplify operation added to resolve lost edges and hanging nodes issue.

Example of LA (which was not working before) working now: image

codecov[bot] commented 6 years ago

Codecov Report

Merging #64 into master will increase coverage by 0.17%. The diff coverage is 80%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   90.28%   90.45%   +0.17%     
==========================================
  Files          12       12              
  Lines         741      744       +3     
==========================================
+ Hits          669      673       +4     
+ Misses         72       71       -1
Impacted Files Coverage Δ
peartree/toolkit.py 96.4% <80%> (+0.67%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7079a6b...2b780b8. Read the comment docs.