Skip to content

Commit

Permalink
addendum refs #15911
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 14, 2024
1 parent 4b7cb37 commit 0ed1a13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/output/vehrouteCountValidation.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def checkInterval(options, begin, end, intervalPrefix, mismatchf):
continue
route = vehicle.route[0]
edges = tuple(route.edges.split())
edgeSet = set(edges)

exitTimes = []
if route.exitTimes:
Expand All @@ -172,7 +173,7 @@ def checkInterval(options, begin, end, intervalPrefix, mismatchf):

numPassedDets = 0
for cd in countData:
i = cd.routePasses(edges)
i = cd.routePasses(edges, edgeSet)
if i is not None:
numPassedDets += 1
et = exitTimes[i]
Expand Down

0 comments on commit 0ed1a13

Please sign in to comment.