From c4394056409f22b5f916fd8da2ba4088f9ee6185 Mon Sep 17 00:00:00 2001 From: David Hensle Date: Mon, 18 Mar 2024 10:05:23 -0700 Subject: [PATCH] blacken --- activitysim/abm/models/util/school_escort_tours_trips.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/activitysim/abm/models/util/school_escort_tours_trips.py b/activitysim/abm/models/util/school_escort_tours_trips.py index fca6f73c3..bcaeebe96 100644 --- a/activitysim/abm/models/util/school_escort_tours_trips.py +++ b/activitysim/abm/models/util/school_escort_tours_trips.py @@ -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