From dd1c2a3227529e767cf9c8c833ecaaff721a3287 Mon Sep 17 00:00:00 2001 From: Browning Date: Mon, 5 Feb 2024 13:53:21 +0000 Subject: [PATCH] fix: update typo in function name --- src/transport_performance/gtfs/cleaners.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transport_performance/gtfs/cleaners.py b/src/transport_performance/gtfs/cleaners.py index 4ff40d52..863f67cf 100644 --- a/src/transport_performance/gtfs/cleaners.py +++ b/src/transport_performance/gtfs/cleaners.py @@ -80,7 +80,7 @@ def drop_trips(gtfs, trip_id: Union[str, list, np.ndarray]) -> None: return None -def _clean_fast_travel_preperation(gtfs, warning_re: str) -> pd.DataFrame: +def _clean_fast_travel_preparation(gtfs, warning_re: str) -> pd.DataFrame: """Prepare to clean fast travel errors. At the beggining of both of the fast travel cleaners, the gtfs is type @@ -130,7 +130,7 @@ def clean_consecutive_stop_fast_travel_warnings(gtfs) -> None: """ # defences - needed_warning = _clean_fast_travel_preperation( + needed_warning = _clean_fast_travel_preparation( gtfs, "Fast Travel Between Consecutive Stops" ) @@ -162,7 +162,7 @@ def clean_multiple_stop_fast_travel_warnings(gtfs) -> None: None """ - needed_warning = _clean_fast_travel_preperation( + needed_warning = _clean_fast_travel_preparation( gtfs, "Fast Travel Over Multiple Stops" ) if len(needed_warning) < 1: