Skip to content

Commit

Permalink
Merge pull request #653 from psrc/develop
Browse files Browse the repository at this point in the history
Selecting choices from joint tour participant ID column explicitly;
  • Loading branch information
jpn-- authored Feb 6, 2024
2 parents 69465d9 + 27fba90 commit 4d111f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activitysim/abm/models/joint_tour_participation.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def joint_tour_participation(
# its value depends on whether the candidate's 'participant_id' is in the joint_tour_participant index
survey_participants_df = estimator.get_survey_table("joint_tour_participants")
participate = pd.Series(
choices.index.isin(survey_participants_df.index.values), index=choices.index
choices.index.isin(survey_participants_df.participant_id), index=choices.index
)

# but estimation software wants to know the choices value (alternative index)
Expand Down

0 comments on commit 4d111f2

Please sign in to comment.