-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Support analysis over multiple service days #9
base: main
Are you sure you want to change the base?
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.
Looks good to me! I appreciate the tidying effort too
{terminals, stop_groups} = GlidesReport.Terminal.all_labeled_terminals_and_groups() | ||
terminal_ids_input = GlidesReport.TerminalSelection.new(terminals, stop_groups) | ||
{terminals, groups} = GlidesReport.Terminal.all_labeled_terminals_and_groups() | ||
terminal_ids_input = TransitData.GlidesReport.TerminalSelection.new(terminals, groups) |
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.
nit: does this need the TransitData prefix?
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.
Oops, no it does not.
(I wish Credo could scan .livemd files...)
|
||
sample_rate_input = | ||
Kino.Input.range("Sample data at (?)-minute intervals", min: 1, max: 5, step: 1, default: 5) | ||
Kino.Input.range("Sample data at (?)-minute intervals", min: 1, max: 5, step: 1, default: 1) |
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.
updating this default makes sense 👍
Asana ticket: 📓 Misc. transit data report notebook updates
Crissy doesn't need to analyze part of a service day or days, so I removed the code related to that, reducing complexity a bit.
You can use any value as a map key in Elixir, which saved me a bunch of effort since I didn't have to constantly convert DateTimes to and from strings 😮💨