Skip to content

Commit

Permalink
blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensle committed Mar 18, 2024
1 parent d9392f3 commit c439405
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion activitysim/abm/models/util/school_escort_tours_trips.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,13 @@ def merge_school_escort_trips_into_pipeline(state: workflow.State):
# checking to see if there are school escort trips to merge in
if len(school_escort_trips) == 0:
# if no trips, fill escorting columns with NA
trips[["escort_participants", "school_escort_direction", "school_escort_trip_id",]] = pd.NA
trips[
[
"escort_participants",
"school_escort_direction",
"school_escort_trip_id",
]
] = pd.NA
state.replace_table("trips", trips)
return trips

Expand Down

0 comments on commit c439405

Please sign in to comment.