Skip to content

Commit

Permalink
call ALT_DEST_COL_NAME as attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensle committed Mar 8, 2024
1 parent fe0c284 commit d1f4db8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activitysim/abm/models/location_choice.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,13 +841,13 @@ def run_location_choice(
pd.merge(
choices_df.reset_index(),
location_sample_df.reset_index()[
[index_name, model_settings["ALT_DEST_COL_NAME"], ALT_LOGSUM]
[index_name, model_settings.ALT_DEST_COL_NAME, ALT_LOGSUM]
],
how="left",
left_on=[index_name, "choice"],
right_on=[index_name, model_settings["ALT_DEST_COL_NAME"]],
right_on=[index_name, model_settings.ALT_DEST_COL_NAME],
)
.drop(columns=model_settings["ALT_DEST_COL_NAME"])
.drop(columns=model_settings.ALT_DEST_COL_NAME)
.set_index(index_name)
)

Expand Down

0 comments on commit d1f4db8

Please sign in to comment.