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

ETA Fixes #31

Open
wants to merge 3 commits into
base: 0.3.0
Choose a base branch
from
Open

ETA Fixes #31

wants to merge 3 commits into from

Conversation

dmv1167
Copy link

@dmv1167 dmv1167 commented Oct 1, 2024

I've created a PR for fixing issues found during implementation of testing after #25. So far I have fixed a missing indent that caused Stop.getEtas() to reference eta without one existing, as well as stops with no vehicles having no etaR field and therefore causing a key error.

Finally, I removed my incorrect comment about min() and opted for the more efficient solution. However, the Stop.getNextVehicle() method now doesn't serve much purpose as users can just do this simple operation on their own.

@dmv1167 dmv1167 mentioned this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

1 participant