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

Selecting choices from joint tour participant ID column explicitly; #653

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

bricegnichols
Copy link
Contributor

In estimation mode, the index of survey_participants_df does not reflect participant_id (as tested by using PSRC survey data). This change uses the ID column directly to select the choice set instead of assuming an index has been properly set.

This was tested and works in both estimation and simulation mode. Perhaps it's preferable to ensure the index is set upstream, but this was the clearest route for me to continue producing estimation data bundles.

In estimation mode, the index of survey_participants_df does not reflect
participant_id (when tested using real survey data).  This change uses the
ID column directly to select the choice set rather than relying on the index.
@jpn-- jpn-- added the Phase 8 Feature planned for inclusion in Phase 8 release label Jan 30, 2024
@jpn-- jpn-- merged commit 4d111f2 into ActivitySim:develop Feb 6, 2024
@jpn-- jpn-- mentioned this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Phase 8 Feature planned for inclusion in Phase 8 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants