-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add config across scripts and overall pipeline script #46
Conversation
76f2728
to
12ccfcb
Compare
c9d3b40
to
0a9f42f
Compare
Hey @sgreenbury , I wanted to add some functionality in the config file but didn't want to conflict with your workflow / wanted to understand how the functions are working first. When using travel_times matrix, I want to check if it exists, and if it doesn't create one. I've implemented the logic here: acbm/scripts/3.1_assign_primary_feasible_zones.py Lines 75 to 107 in 771edff
Could we add that to the config? We can discuss Friday. Related to #48 |
Looks good to me adding like that to the config and then |
I think the important thing is to put TRUE or FALSE in the config depending on whether we have a travel time matrix. That would then be used here. The block you refer to just handles the case where travel_times is accidentally set to TRUE but there is no actual travel_times parquet file. Maybe not necessary. Somewhat related, I am thinking of using pandera to check the schemas of all dfs before applying functions. |
Refactor with pydantic and using dataclass, add max_zones to config parameters
edc173a
to
9fb69f5
Compare
168e253
to
1994168
Compare
Following first full run for Leeds, as discussed with @Hussein-Mahfouz and @BZ-BowenZhang merging this PR. |
Contributes towards #44.