Skip to content

Commit

Permalink
debugging NYS-226
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonabrown committed Sep 19, 2023
1 parent b5c1eb8 commit 3e7cb04
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ public void run(TransformContext context, GtfsMutableRelationalDao dao) {
readElevatorData(stopGroups, getComplexList(dao));
}

_log.info("found {} complex stops to mark as accessible", complexStopIds.size());
for (AgencyAndId aid : complexStopIds.keySet()) {
Stop stop = complexStopIds.get(aid);
stop.setWheelchairBoarding(WHEELCHAIR_ACCESSIBLE);
Expand Down Expand Up @@ -579,6 +580,7 @@ private Map<String, List<Stop>> getComplexList(GtfsDao dao) {
try (BufferedReader br = new BufferedReader(new FileReader(new File(this.accessibleComplexFile)))) {
String line;
while ((line = br.readLine()) != null) {
_log.info("accessibleComplexFile line: " + line);
List<Stop> complex = new ArrayList<>();
for (String id : line.split(STOP_SEPARATOR)) {
Stop stop = stops.get(id);
Expand Down

0 comments on commit 3e7cb04

Please sign in to comment.