gtfs_kit feed.validate() throws an error if agency_id is missing.
Environment
OS: macos
Python version: 3.9.13
Java version: openjdk 11.0.19 2023-04-18 LTS
Steps to reproduce
No raise on gtfs_kit feed.validate() is needed. If the GTFS is not valid, then capturing this condition in the validity table is enough.
Additional context
Inspecting GTFS. agency_id is conditionally required. gtfs_kit code needs to be investigated to find where the dependency on agency_id creeps in and whether there is acceptable logic raising this problem (eg there ARE more than one agencies operating but no agency_id is found).
For the time being, this exception is not handled in the src code in branch 15-gtfs-validation-pipeline, but it is handled in pipeline/gtfs/01-validate-gtfs.py .
Describe the bug
gtfs_kit feed.validate() throws an error if agency_id is missing.
Environment
Steps to reproduce
No raise on gtfs_kit feed.validate() is needed. If the GTFS is not valid, then capturing this condition in the validity table is enough.
Additional context
Inspecting GTFS. agency_id is conditionally required. gtfs_kit code needs to be investigated to find where the dependency on
agency_id
creeps in and whether there is acceptable logic raising this problem (eg there ARE more than one agencies operating but no agency_id is found).For the time being, this exception is not handled in the src code in branch 15-gtfs-validation-pipeline, but it is handled in pipeline/gtfs/01-validate-gtfs.py .