Skip to content

Commit

Permalink
update calculate number of lanes method
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidOry committed Mar 12, 2021
1 parent 993ecc0 commit 440a08e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lasso/metcouncil.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def _set_lanes(x):
try:
if x.centroidconnect == 1:
return int(centroid_connect_lanes)
elif x.drive_access == 0:
return int(0)
elif max([x.anoka, x.hennepin, x.carver, x.dakota, x.washington])>0:
return int(max([x.anoka, x.hennepin, x.carver, x.dakota, x.washington]))
elif max([x.widot, x.mndot])>0:
Expand Down

0 comments on commit 440a08e

Please sign in to comment.