-
Notifications
You must be signed in to change notification settings - Fork 44
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
front: fix travel time >1h in OSRD → NGE conversion #9035
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and it's working very well, thanks :)
For the code part, I still have some warning about linting
b28a16d
to
ccbf09a
Compare
Apologies, should be fixed now! |
ccbf09a
to
2252f3b
Compare
Small cleanup to get rid of unnecessary null assertions after discussing with @sim51. |
good for me ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm and tested
Multiple issues here: - Source or target "time" may be zero or null, zero means it's set but top of the hour, null means unset/unknown. We still want to compute the travel time if it's zero. - Travel "time" field doesn't need to be computed modulo 1h, because it's a duration, not an absolute time. - Travel "consecutiveTime" field needs to be populated as well. Signed-off-by: Simon Ser <contact@emersion.fr> Closes: #8862
2252f3b
to
4bc0dff
Compare
Multiple issues here:
Closes: #8862