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

Bug: negative bus journeys #3

Open
luke-strange opened this issue Dec 19, 2024 · 0 comments
Open

Bug: negative bus journeys #3

luke-strange opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@luke-strange
Copy link
Collaborator

Buses shouldn’t be able to go “backwards” - i.e. setting the end bus stop as one that is before the start stop on the route.

For example, a bus goes along the route stop1, stop2, stop3... etc.

If i set stop3 as the "start" and stop 1 as the end (by mistake/not understanding the tool correctly), the graph shows negative values on the chart.

See example here

We should not plot the values if they are negative, and perhaps issue a warning to users that they have put their stops the wrong way around.

@luke-strange luke-strange added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants