Skip to content

Commit

Permalink
repair
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed May 7, 2024
1 parent 11a01a7 commit 5eb076a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion activitysim/abm/models/accessibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@ def compute_accessibility(
) in chunk.adaptive_chunked_choosers(
state, accessibility_df, trace_label, explicit_chunk_size=explicit_chunk_size
):
orig_land_use_df_chunk = orig_land_use_df.loc[chooser_chunk.index]
if orig_land_use_df is not None:
orig_land_use_df_chunk = orig_land_use_df.loc[chooser_chunk.index]
else:
orig_land_use_df_chunk = None
accessibilities = compute_accessibilities_for_zones(
state,
chooser_chunk,
Expand Down

0 comments on commit 5eb076a

Please sign in to comment.