Skip to content

Commit

Permalink
fix: clean_feed() corrected to use is_valid()
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-moss committed Oct 13, 2023
1 parent 21b02d5 commit 692ffcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport_performance/gtfs/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def clean_feed(
_type_defence(fast_travel, "fast_travel", bool)
_type_defence(validate, "valiidate", bool)
if validate:
self.validity_df = self.feed.validate()
self.is_valid()
try:
# In cases where shape_id is missing, keyerror is raised.
# https://developers.google.com/transit/gtfs/reference#shapestxt
Expand Down

0 comments on commit 692ffcd

Please sign in to comment.