From 440a08e083b758d2a5f03bd3a08b72c37c3a62e2 Mon Sep 17 00:00:00 2001 From: David Ory Date: Fri, 12 Mar 2021 12:59:20 -0700 Subject: [PATCH] update calculate number of lanes method --- lasso/metcouncil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lasso/metcouncil.py b/lasso/metcouncil.py index 80e36dc..b562886 100644 --- a/lasso/metcouncil.py +++ b/lasso/metcouncil.py @@ -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: