Skip to content

Commit

Permalink
Update mobility indicator models
Browse files Browse the repository at this point in the history
  • Loading branch information
doorleyr committed Jun 18, 2020
1 parent 6c9e58c commit fe6ab0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file modified tables/corktown/fitted_co2_model.p
Binary file not shown.
Binary file modified tables/corktown/fitted_pa_model.p
Binary file not shown.
2 changes: 1 addition & 1 deletion tables/corktown/mobility_sim_output.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ def __init__(self,*args,**kwargs):
self.requires_geometry = False
self.model_path = None
self.pickled_model = None
self.int_types_def=None
self.types_def=None
self.geogrid_header=None
self.is_composite = False
Expand Down Expand Up @@ -657,7 +658,8 @@ def assign_geogrid_props(self, handler):
Instantiated object of the Handler class.
'''
geogrid_props = handler.geogrid_props
self.types_def = geogrid_props['types']
self.int_types_def=geogrid_props['types']
self.types_def = self.int_types_def.copy()
if 'static_types' in geogrid_props:
self.types_def.update(geogrid_props['static_types'])
self.geogrid_header = geogrid_props['header']
Expand Down

0 comments on commit fe6ab0a

Please sign in to comment.