-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Route choice API, link loading, path file generation #515
Conversation
Add method to map compressed link IDs to network IDs
Add decorators as well
@janzill , can you take a look at this PR sometime before next Tuesday? That would allow Jake to jump straight into it |
@Jake-Moss , the API looks pretty good. I think that with some minor tweaks and the example notebook, it will be perfect. |
@Jake-Moss , in order to save choice sets to disk, we would need to either save the relationship between compact graph link and link/direction or convert it to link_id/direction. Compact graphs are not permanent, so this becomes dangerous when saving to disk |
What file is that from? I can't see it on the latest commit, I thought that doc string was modified, either way any doc string that mentions the compact links is out of date, except aequilibrae/aequilibrae/paths/route_choice.py Lines 330 to 361 in f55eac9
and the translation for the results table happens during its construction aequilibrae/aequilibrae/paths/route_choice_set.pyx Lines 1173 to 1182 in f55eac9
|
I believe this is largely ready now, it is lacking select link analysis support, though that will come in a separate PR |
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 great, one small suggestion regarding testing assignment
Hmm I thought the CI was fixed... |
Latest Mac-os is now M1... |
Hmm that'll do it |
I'm not sure what's going on now, the logs files said that the system was build a It doesn't seem to be respecting the `--ignore-missing-dependencies`` |
This PR is long enough, going to merge into the feature branch and merge develop, hopefully that'll fix some of the CI |
TODO:
Saving of sparse path files into parquetbatched
method, which is 252 lines