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

Clean up handling of mode in synthetic graph creation, coalesce #152

Closed kuanb closed 4 years ago

kuanb commented 4 years ago

Some minor clean up on how mode attribute is handled for 2 cases:

codecov[bot] commented 4 years ago

Codecov Report

Merging #152 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
+ Coverage    91.8%   91.81%   +<.01%     
==========================================
  Files          13       13              
  Lines        1147     1148       +1     
==========================================
+ Hits         1053     1054       +1     
  Misses         94       94
Impacted Files Coverage Δ
peartree/synthetic.py 94.05% <100%> (+0.09%) :arrow_up:
peartree/toolkit.py 93.64% <100%> (-0.06%) :arrow_down:

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 e92d667...9038846. Read the comment docs.