Skip to content

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 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants