Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added agency and stop info to detailed itineraries #362

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

wklumpen
Copy link
Contributor

@wklumpen wklumpen commented Sep 25, 2023

This PR adds more detail to the transit portions of the detailed itineraries.

The main thing left to do here is generate the updated data column. @christophfink how did you go about that? It looks like a lot of the data is trimmed in a certain way; do you have a pattern for regenerating the test data?

See #361

@wklumpen wklumpen marked this pull request as ready for review September 25, 2023 21:32
@wklumpen wklumpen changed the title [WIP] Added agency and stop info to detailed itineraries Added agency and stop info to detailed itineraries Sep 25, 2023
@wklumpen wklumpen marked this pull request as draft September 26, 2023 18:08
@wklumpen
Copy link
Contributor Author

Need to add to the Detailed Itineraries docs and figure out why tests are failing here but not on my local machine

@wklumpen wklumpen marked this pull request as ready for review September 26, 2023 20:00
@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b5dc66b) 99.56% compared to head (0ba241f) 99.49%.
Report is 7 commits behind head on main.

❗ Current head 0ba241f differs from pull request most recent head 9bfa39d. Consider uploading reports for the commit 9bfa39d to get more accurate results

Files Patch % Lines
src/r5py/r5/trip.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #362      +/-   ##
==========================================
- Coverage   99.56%   99.49%   -0.07%     
==========================================
  Files          35       35              
  Lines        1372     1386      +14     
==========================================
+ Hits         1366     1379      +13     
- Misses          6        7       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wklumpen
Copy link
Contributor Author

To fix:

  • Check test file names to match with test (GTFS vs helsinki_etc)
  • Delete agency ID property as we don't use it and it hurts coverage

@wklumpen wklumpen linked an issue Nov 16, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants