irie 0.0.34__py3-none-any.whl → 0.0.35__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of irie might be problematic. Click here for more details.

@@ -52,7 +52,7 @@ def load_assets(NBI_DATA):
52
52
 
53
53
  def find_bridge(bridges, calid):
54
54
  for bridge in bridges.values():
55
- if bridge["calid"].split(" ")[0] == calid:
55
+ if "calid" in bridge and bridge["calid"].split(" ")[0] == calid:
56
56
  return bridge
57
57
  return {}
58
58
 
@@ -99,6 +99,8 @@ def load_assets(NBI_DATA):
99
99
  # 1. Collect routes of interest
100
100
  ROUTES = set()
101
101
  for bridge in BRIDGES.values():
102
+ if "calid" not in bridge:
103
+ continue
102
104
  calid = bridge["calid"].split(" ")[0].replace("-", " ")
103
105
  nbi = get_nbi(calid, missing_ok=True)
104
106
  if nbi is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: irie
3
- Version: 0.0.34
3
+ Version: 0.0.35
4
4
  Summary: An infrastructure resilience engine
5
5
  Author-email: "Claudio M. Perez" <50180406+claudioperez@users.noreply.github.com>
6
6
  Project-URL: Repository, https://github.com/STAIRLab
@@ -455,14 +455,14 @@ irie/init/data/nbi_codes-california.json,sha256=UPFbBzxY2NshREecsP4evCA8vdvXFRvG
455
455
  irie/init/data/nbi_data-california.json,sha256=nyslZbMf30WrtdyqCpMvxd-NNxNzFHtZX_TDWRZFob0,8534365
456
456
  irie/init/data/nbi/04.tar,sha256=ubRgxWBshe0cNKxftbEVyFeh1HcUmFarVL2BBHo9Tyk,1884160
457
457
  irie/init/data/networks/soga_corridors.json,sha256=AQOUaKGNWkQxQKLfqphE9Qb_-NRmjN9IwK59SGjutxE,45496
458
- irie/init/management/commands/init_assets.py,sha256=ug1pxKrgAPAgWjCk8UDORuMwsLSECf_iNltJVISNwLw,5701
458
+ irie/init/management/commands/init_assets.py,sha256=CdLb9qT0iIzrlmxfYVI80WMLNo0F7sxDJRobSkvwYtk,5778
459
459
  irie/init/management/commands/init_cesmd.py,sha256=4TLtlRRmafaz-cxYXI2b2OQFBMQA6n_7gjk5C-ToqXA,1075
460
460
  irie/init/management/commands/init_corridors.py,sha256=EzLk0HUiFxlco-2u0rypewOc9mAo_raqXC2_UCG8a_w,1241
461
461
  irie/init/management/commands/init_predictors.py,sha256=jdD7rd8l2qxuUuR5GOYuHXp-ZQkAK477TefksBMdlOw,2362
462
462
  irie/rest/__main__.py,sha256=6Nf_-Rr9zGmMyp_wqCFDO7ls9QPnPd9UyUgN17rIGYw,3680
463
463
  irie/usgs/__main__.py,sha256=HiSvPn5IW5IqRiCk1qRRq5dCy3-7iISw7v1P_w2rLrk,5049
464
- irie-0.0.34.dist-info/METADATA,sha256=Wb2_DsdtzeRscoBgpEnRQuv8NIdK1vT3QHfq0en5ghQ,3207
465
- irie-0.0.34.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
466
- irie-0.0.34.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
467
- irie-0.0.34.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
468
- irie-0.0.34.dist-info/RECORD,,
464
+ irie-0.0.35.dist-info/METADATA,sha256=aYmygBZop8txtpscNBprjszIJoWn3WWUwJaDK_DGoMw,3207
465
+ irie-0.0.35.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
466
+ irie-0.0.35.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
467
+ irie-0.0.35.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
468
+ irie-0.0.35.dist-info/RECORD,,
File without changes