Skip to content

Commit

Permalink
fix: update typo in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
CBROWN-ONS committed Feb 5, 2024
1 parent 034c6fb commit dd1c2a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/transport_performance/gtfs/cleaners.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
)

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit dd1c2a3

Please sign in to comment.