Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jl/multiple rhm #28

Open
wants to merge 533 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
533 commits
Select commit Hold shift + click to select a range
3f0b862
catch up
zneedell Jan 28, 2022
5f76226
catch up
zneedell Jan 28, 2022
ceae746
austin settings
beam-bot Feb 1, 2022
a221f5c
Merge branch 'ual-clean' of https://github.com/LBNL-UCB-STI/PILATES i…
beam-bot Feb 1, 2022
d7bcf6d
cleaned atlas-integrated code
yhanw0719 Feb 3, 2022
a767755
change IWAIT XWAIT in settings.yaml
yhanw0719 Feb 3, 2022
2cb9a3c
Merge branch 'ual-clean' of https://github.com/LBNL-UCB-STI/PILATES i…
zneedell Feb 3, 2022
0699404
infer small but nonzero wait time when not included
zneedell Feb 3, 2022
7c2e9dc
fix preprocessor error
yhanw0719 Feb 3, 2022
79c2dd2
also delete stale urbansim outputs
zneedell Feb 4, 2022
e8580db
script to pull beam data
zneedell Feb 4, 2022
44220ee
make script executable
zneedell Feb 4, 2022
d4be111
copy initial beam skims from git directory
zneedell Feb 4, 2022
030da6d
attribution for shell script
zneedell Feb 5, 2022
9477d38
performance improvement in skims merging
zneedell Feb 7, 2022
c494d8e
comments from Max
zneedell Feb 7, 2022
6abebad
start merging ridehail skims
zneedell Feb 7, 2022
9cb63af
merge rh skims
zneedell Feb 8, 2022
6749b0b
add ridehail skims to omx
zneedell Feb 8, 2022
a57dd04
also copy 1d skims
zneedell Feb 8, 2022
694b86f
also upload raw beam skims
zneedell Feb 9, 2022
970ad29
atlas auto-resubmission added; atlas 1.0.5
yhanw0719 Feb 11, 2022
ceca603
incorporate ual-clean latest update in run.py
yhanw0719 Feb 11, 2022
eef381d
cleaned unused files
yhanw0719 Feb 11, 2022
43f9866
add atlas inputs to git
yhanw0719 Feb 11, 2022
757b712
Merge remote-tracking branch 'ual/master' into ual-clean
zneedell Feb 11, 2022
a75f53c
Merge branch 'ual-clean' into ridehail-skims-ual
zneedell Feb 11, 2022
0fa2904
where did these formatting issues come from?
zneedell Feb 11, 2022
a2a53fe
integrate ATLAS into PILATES
yhanw0719 Feb 11, 2022
5474b5c
clean up directory structure
zneedell Feb 12, 2022
0b8c989
more logging
zneedell Feb 12, 2022
d238ffe
fix filename
zneedell Feb 12, 2022
e04547e
Merge branch 'main' into ridehail-skims-ual
zneedell Feb 12, 2022
7078e4b
bring in newer settings
zneedell Feb 12, 2022
654f8fe
os.path.exists
zneedell Feb 12, 2022
829bd30
os.path.exists v2
zneedell Feb 12, 2022
06e0b39
more logging
zneedell Feb 12, 2022
91094bf
copy not move
zneedell Feb 12, 2022
d9355da
copy whole directory
zneedell Feb 12, 2022
463c764
more logging, try to specify output directory
zneedell Feb 12, 2022
60849c8
Ugh, handle both files and directories
zneedell Feb 12, 2022
5cd45a7
abspath
zneedell Feb 12, 2022
98a827d
update BEAM settings to match LBNL/main
yhanw0719 Feb 14, 2022
61b8bfe
fix pointing to wrong file
beam-bot Feb 14, 2022
f8fc887
Merge branch 'atlas-yuhan-sfbay' into atlas
yhanw0719 Feb 14, 2022
7404b64
Merge pull request #4 from LBNL-UCB-STI/atlas
yhanw0719 Feb 14, 2022
651db3e
update function run_atlas_autoin run.py to deal with connection errors
yhanw0719 Feb 14, 2022
8ea61a3
Update run.py
yhanw0719 Feb 14, 2022
da8a232
annoying pandas index dtype issue
beam-bot Feb 15, 2022
5acea31
Back to default scenario
zneedell Feb 15, 2022
76a3dcf
Merge pull request #11 from LBNL-UCB-STI/ridehail-skims-ual
zneedell Feb 15, 2022
1f156f3
Merge branch 'main' into improve-output-directory-structure
zneedell Feb 15, 2022
f220ec1
more logging for ridehail matching
zneedell Feb 16, 2022
ae118b2
bug fixes
beam-bot Feb 16, 2022
4f80383
Merge branch 'improve-output-directory-structure' of https://github.c…
beam-bot Feb 16, 2022
b19c4a5
update settings
beam-bot Feb 16, 2022
8091364
Merge branch 'improve-output-directory-structure' of https://github.c…
beam-bot Feb 16, 2022
7dd7c3d
bug
beam-bot Feb 16, 2022
dbf956a
Merge branch 'improve-output-directory-structure' of https://github.c…
beam-bot Feb 16, 2022
385d4fe
bug
beam-bot Feb 16, 2022
948d3bc
bug fixes
beam-bot Feb 18, 2022
b027e6a
fix directory structure when moving folders
zneedell Feb 18, 2022
c2118f9
more ridehail logging
zneedell Feb 18, 2022
8860f8b
average wait time correctly
zneedell Feb 25, 2022
3fc3007
fix taz id
Feb 25, 2022
6a5cdbe
dumb bug
zneedell Feb 25, 2022
aa013bd
Merge branch 'improve-output-directory-structure' of https://github.c…
zneedell Feb 25, 2022
7c6788d
Merge pull request #12 from LBNL-UCB-STI/improve-output-directory-str…
zneedell Feb 25, 2022
7844917
Merge remote-tracking branch 'origin/main' into atlas
zneedell Feb 25, 2022
177efab
Merge remote-tracking branch 'ual/master' into atlas
zneedell Feb 25, 2022
1dfa6b7
add austin bgs
zneedell Feb 26, 2022
490abe5
Merge remote-tracking branch 'origin/main'
zneedell Feb 26, 2022
fdfca77
Merge remote-tracking branch 'origin/main' into atlas
zneedell Feb 26, 2022
f9b563a
more logging
zneedell Mar 1, 2022
f64ff09
one year runs
Mar 12, 2022
9991e12
copy over valid zone geoms from BEAM input
zneedell Mar 17, 2022
e9ad602
Merge remote-tracking branch 'origin/atlas' into atlas
zneedell Mar 18, 2022
4621108
bugfix
zneedell Mar 21, 2022
de13786
Merge pull request #10 from LBNL-UCB-STI/atlas
zneedell Mar 21, 2022
69bd853
atlas postprocess vehicleTypeId for beam
yhanw0719 May 11, 2022
6e4a9cb
update atlas docker to 1.0.6
yhanw0719 May 12, 2022
00ffb98
update atlas postprocessor
yhanw0719 May 12, 2022
613f2c1
Merge branch 'atlas-yuhan-sfbay' into yhanw0719-patch-1
yhanw0719 May 12, 2022
eb0ea35
Merge pull request #5 from LBNL-UCB-STI/yhanw0719-patch-1
yhanw0719 May 12, 2022
8e21448
fix var name bug
yhanw0719 May 12, 2022
377f4a2
atlas: four updates
yhanw0719 Jun 1, 2022
6bed927
minor fix
yhanw0719 Jun 1, 2022
ad45206
update atlas docker to v1.0.7
yhanw0719 Jun 1, 2022
326f095
upload taz_to_tract_sfbay.csv
yhanw0719 Jun 1, 2022
5897762
Merge branch 'main' of https://github.com/yhanw0719/PILATES
yhanw0719 Jun 1, 2022
ce47147
Merge pull request #14 from yhanw0719/main
yhanw0719 Jun 1, 2022
d50caae
simplification in atlas preprocessor
yhanw0719 Jun 8, 2022
75ba4af
Merge pull request #15 from LBNL-UCB-STI/atlas
zneedell Jun 8, 2022
2e8a564
add atlas_beamac warning
yhanw0719 Jun 8, 2022
06f8612
Merge pull request #16 from LBNL-UCB-STI/atlas
zneedell Jun 8, 2022
0691611
bind docker to local configs
zneedell Jun 9, 2022
32b48a6
update asim docker image
zneedell Jun 9, 2022
1b23610
copy additional files
zneedell Jun 30, 2022
b31b64f
Merge pull request #17 from LBNL-UCB-STI/configs-outside-docker
zneedell Jun 30, 2022
f8b74a2
Merge pull request #20 from LBNL-UCB-STI/copy-additional-asim-files
zneedell Jun 30, 2022
a30dc35
modify beam sample from config
zneedell Jul 14, 2022
af4c192
Merge remote-tracking branch 'origin/master' into merge-ual
zneedell Jul 14, 2022
6f5c068
fix merge
zneedell Jul 14, 2022
517a7ca
fixes to get it to run
zneedell Aug 3, 2022
ef53480
beam common configs
zneedell Aug 3, 2022
5d0291e
read memory/cores from instance
zneedell Aug 3, 2022
e8a2f2d
Merge pull request #22 from LBNL-UCB-STI/merge-ual
zneedell Aug 3, 2022
a81c09d
improve performance
zneedell Aug 3, 2022
0c96a6a
fixes
zneedell Aug 3, 2022
d554318
fixes
zneedell Aug 4, 2022
8f58dd9
fixes
zneedell Aug 4, 2022
876c16b
fixes
zneedell Aug 4, 2022
541b176
fixes
zneedell Aug 4, 2022
459a277
fixes
zneedell Aug 4, 2022
9dc13f9
fixes
zneedell Aug 4, 2022
90a0fdc
fixes
zneedell Aug 4, 2022
bddad0a
fixes
zneedell Aug 4, 2022
93e6810
fixes
zneedell Aug 4, 2022
ee8cecf
attempt to parallelize, fix dtype
zneedell Aug 4, 2022
aee57c3
bugfix
zneedell Aug 4, 2022
f790903
bugfix
zneedell Aug 4, 2022
65aa5da
bugfix
zneedell Aug 4, 2022
5f39d7f
bugfix
zneedell Aug 4, 2022
3e1932d
deal with infs
zneedell Aug 4, 2022
a0788c3
bugfix
zneedell Aug 4, 2022
0aa2525
bugfix
zneedell Aug 4, 2022
11c8e42
bugfix
zneedell Aug 4, 2022
3c9c0ac
bugfix
zneedell Aug 4, 2022
666a6a9
penalize toll routes
zneedell Aug 4, 2022
6d150a1
undo
zneedell Aug 4, 2022
e68d925
Merge pull request #23 from LBNL-UCB-STI/turn-off-unused-modes
zneedell Aug 5, 2022
06b87bc
fix infinity on import
zneedell Aug 8, 2022
25eb8fb
copy all files correctly
zneedell Aug 8, 2022
fcbeebb
gcloud script, split upload and clean
zneedell Aug 10, 2022
e6bd87c
postprocessing script (incomplete)
zneedell Aug 12, 2022
db92d32
postprocessing script
zneedell Aug 12, 2022
7f4fa7a
postprocessing script
zneedell Aug 12, 2022
b787912
bugfixes
zneedell Aug 12, 2022
8c205f6
fix string split
zneedell Aug 12, 2022
a883be8
last bugfixes, run from main script
zneedell Aug 15, 2022
82089e8
add year to output filename
zneedell Aug 15, 2022
3fcda63
upload new files
zneedell Aug 16, 2022
fd40e96
upload new files
zneedell Aug 16, 2022
b47d7b3
Merge pull request #24 from LBNL-UCB-STI/postprocessing
zneedell Aug 16, 2022
76e7a10
Merge branch 'main' into zn/change-beam-sample-from-settings
zneedell Aug 16, 2022
b688d0a
upload geog file because api is broken
zneedell Aug 24, 2022
821e8c1
fix postprocessing location
zneedell Aug 30, 2022
08136bd
add geom column
zneedell Oct 24, 2022
8033362
import
zneedell Oct 24, 2022
56c44fa
import
zneedell Oct 24, 2022
9af09ba
bugfix
zneedell Oct 24, 2022
fbcc4a8
bugfix
zneedell Oct 24, 2022
1b196e0
bugfix
zneedell Oct 24, 2022
efed400
bugfix
zneedell Oct 24, 2022
5636dc2
Merge pull request #27 from LBNL-UCB-STI/fix-geoms-for-austin
zneedell Oct 24, 2022
dc3e63a
fix geoids in postprocessing
zneedell Oct 25, 2022
254237d
fix geoids in postprocessing
zneedell Oct 25, 2022
646745a
Merge pull request #28 from LBNL-UCB-STI/fix-geoms-for-austin
zneedell Nov 16, 2022
337a786
Merge remote-tracking branch 'lbl/main' into zn/change-beam-sample-fr…
zneedell Nov 16, 2022
463583b
merge 100% of plans in last asim-lite iter
zneedell Nov 16, 2022
11c9b6a
loop logger in try loop
zneedell Nov 17, 2022
4d4bcc7
Merge pull request #21 from LBNL-UCB-STI/zn/change-beam-sample-from-s…
zneedell Nov 21, 2022
615e7bb
copy mep inputs to new folder
zneedell Nov 21, 2022
9947c23
fixes
zneedell Nov 21, 2022
132717b
fix weird formatting
zneedell Nov 21, 2022
f85e722
call mep upload from run.py and copy over to google cloud storage whe…
zneedell Nov 21, 2022
7dd16ca
upload additional files for mep
zneedell Nov 22, 2022
adc6fd2
also upload mep outputs to s3
zneedell Nov 22, 2022
d506355
also copy to mep when running all postprocessing at once
zneedell Nov 22, 2022
976daaa
suggestions from NREL
zneedell Nov 23, 2022
0bf994b
Merge pull request #29 from LBNL-UCB-STI/zn/collect-mep-outputs
zneedell Nov 29, 2022
87c7356
remove extra copying of files
zneedell Dec 2, 2022
abe72d4
Merge remote-tracking branch 'lbl/main' into zn/collect-mep-outputs
zneedell Dec 2, 2022
1d57293
Revert "remove extra copying of files"
zneedell Dec 2, 2022
2682ff9
Copy files in preprocessor instead to keep things simpler
zneedell Dec 2, 2022
6bed0a5
plan memory size
zneedell Dec 3, 2022
98c11d5
parkiong output isn't zipped -- wrap mep file copying in try
zneedell Dec 3, 2022
813e935
catch MEP errors
zneedell Dec 5, 2022
1ad062b
catch merging errors
zneedell Dec 5, 2022
06a6d01
misc formatting fixes
zneedell Dec 5, 2022
290af8d
bugfix
zneedell Dec 5, 2022
292288a
Updated the postprocessor code
nazanin87 Dec 7, 2022
693e34f
Update postprocessor.py
nazanin87 Dec 7, 2022
4fc65d7
write extra line break
zneedell Dec 14, 2022
7c105e9
Merge pull request #30 from nazanin87/post_processing_update
zneedell Dec 16, 2022
b902acb
Merge branch 'zn/collect-mep-outputs' into post_processing_update
cristian-poliziani Dec 16, 2022
decf284
Merge pull request #31 from nazanin87/post_processing_update
cristian-poliziani Dec 16, 2022
3d296f6
update configs
cristian-poliziani Dec 17, 2022
aec59bb
update postprocessing
cristian-poliziani Dec 17, 2022
72ae413
update postprocessing
cristian-poliziani Dec 17, 2022
f6f4322
update postprocessing
cristian-poliziani Dec 17, 2022
78384a0
update postprocessing
cristian-poliziani Dec 17, 2022
03d09bb
update postprocessing
cristian-poliziani Dec 18, 2022
b09bbe9
update upload_to_s3
cristian-poliziani Dec 20, 2022
92970d9
update upload_to_s3
cristian-poliziani Dec 20, 2022
d0c6106
update upload_to_s3
cristian-poliziani Dec 20, 2022
b586aa8
update upload_to_s3
cristian-poliziani Dec 20, 2022
a1d4ecc
update upload_to_s3
cristian-poliziani Dec 20, 2022
c62d9dc
update upload_to_s3
cristian-poliziani Dec 20, 2022
38b549c
eliminate inexus outputs
cristian-poliziani Dec 26, 2022
f6dc591
tweaks for plan memory
zneedell Jan 31, 2023
d07bb0e
fix config changes
zneedell Feb 3, 2023
4dc71ee
don't write config lines multiple times
zneedell Feb 3, 2023
fb6d702
indexing bug
zneedell Feb 3, 2023
6f5a3b3
finally fix changes to beam config
zneedell Feb 5, 2023
1cc8c1b
fixes for MEP outputs
zneedell Feb 24, 2023
a877f3b
revert accidental commit
zneedell Feb 24, 2023
cfaeb4f
Merge pull request #33 from LBNL-UCB-STI/zn/collect-mep-outputs
zneedell Mar 14, 2023
4edd49d
start by generating empty distance skims
zneedell Mar 17, 2023
43ef2fa
load OMX skims
zneedell Mar 22, 2023
a960b97
lots of fixes in skims merging
zneedell Mar 24, 2023
df928e3
remove unused imports
zneedell Apr 3, 2023
8898907
correct endswith
cristian-poliziani Apr 6, 2023
eccd1c5
correct different shapes
cristian-poliziani Apr 6, 2023
85c3b2b
correct typo read omx
cristian-poliziani Apr 6, 2023
a9a15ba
correct typo read omx
cristian-poliziani Apr 6, 2023
3d44ef6
correct return merge function
cristian-poliziani Apr 7, 2023
27a83ed
correct measure map
cristian-poliziani Apr 7, 2023
1c8e9d2
correct measure map
cristian-poliziani Apr 7, 2023
ab2fd84
correct measure map
cristian-poliziani Apr 7, 2023
911d058
ignore DS_Store
zneedell Apr 13, 2023
94b349f
Merge branch 'zn/omx-skims' of https://github.com/LBNL-UCB-STI/PILATE…
zneedell Apr 13, 2023
08e9f9d
correctly copy over updated skims
zneedell Apr 13, 2023
0d48570
add settings for seattle
zneedell Apr 14, 2023
6d49607
update settings
Apr 14, 2023
afa55cf
update geog util for seattle
zneedell Apr 14, 2023
87a4e35
pass start year to utils
zneedell Apr 14, 2023
623e44e
force string
zneedell Apr 14, 2023
2b548dc
fix for excess block groups
zneedell Apr 15, 2023
3e63752
TRN
zneedell Apr 15, 2023
a181ce2
fix for toPenalize variable
zneedell Apr 15, 2023
4f1f581
fix for STATE
zneedell Apr 15, 2023
d04dd47
fix for COUNTY
zneedell Apr 15, 2023
c2b3ba8
fix for TRACT
zneedell Apr 15, 2023
cb75236
fix for error handling
zneedell Apr 15, 2023
c81667d
force float32
zneedell Apr 18, 2023
5f4f990
smaller default rejection prob
zneedell Apr 19, 2023
1f9d3ba
fillna to avoid nan density
zneedell Apr 19, 2023
c89ca29
clean up, more logging
zneedell Apr 21, 2023
fad483e
typo
zneedell Apr 21, 2023
d809819
fix utf issue
zneedell Apr 21, 2023
6fb4d74
more logging
zneedell Apr 21, 2023
aa13014
also zero out KEYIVT. Updates to uploading/cleaning
zneedell May 1, 2023
02c099b
KEYIVT isn't there for all transit modes
zneedell May 1, 2023
c2e2f14
add serviceName (ridehail manager name) to ridehail skims to be merged
jlaz May 3, 2023
997f33f
Merge remote-tracking branch 'origin/zn/omx-skims' into jl/multiple_rhm
jlaz May 3, 2023
84b6a45
add serviceName (ridehail manager name) to omx skims
jlaz May 3, 2023
029cd70
add rideHail manager names to ridehail_path_map
jlaz May 3, 2023
0c051fa
add rideHail manager names to preprocessing of skims; update changes …
jlaz May 3, 2023
fb87cbc
:facepalm-emoji:
zneedell May 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,10 @@ venv.bak/

# mypy
.mypy_cache/
test.py
tmp.py

# Tin's notes
pilates_conda_env_setup4hima.txt

*.DS_Store
23 changes: 23 additions & 0 deletions clean_beam_data.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/sh

echo "Deleting beam outputs"
for d in pilates/beam/beam_output/*/ ; do
echo "deleting $d";
sudo rm -rf "$d"*
done
sudo rm pilates/beam/beam_output/*.omx

echo "Deleting activitysim output"

sudo rm pilates/activitysim/output/*
sudo rm -r pilates/activitysim/output/year*

echo "Deleting interim activitysim inputs"
sudo rm pilates/activitysim/data/*

echo "Deleting interim urbansim data"
sudo rm pilates/urbansim/data/input*
sudo rm pilates/urbansim/data/model*

echo "Deleting inexus output data"
sudo rm pilates/postprocessing/output/*
File renamed without changes.
2 changes: 2 additions & 0 deletions pilates/activitysim/output/trip_mode_choice/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
23 changes: 10 additions & 13 deletions pilates/activitysim/postprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import pandas as pd
import zipfile
import os

logger = logging.getLogger(__name__)


Expand Down Expand Up @@ -33,8 +34,7 @@ def _load_asim_outputs(settings):
return asim_output_dict


def _get_usim_datastore_fname(settings, io, year=None):

def get_usim_datastore_fname(settings, io, year=None):
if io == 'output':
datastore_name = settings['usim_formattable_output_file_name'].format(
year=year)
Expand All @@ -58,7 +58,7 @@ def _prepare_updated_tables(
data_dir = settings['usim_local_data_folder']

# e.g. model_data_2012.h5
usim_output_store_name = _get_usim_datastore_fname(
usim_output_store_name = get_usim_datastore_fname(
settings, io='output', year=forecast_year)
usim_output_store_path = os.path.join(data_dir, usim_output_store_name)
if not os.path.exists(usim_output_store_path):
Expand Down Expand Up @@ -127,8 +127,8 @@ def _prepare_updated_tables(

# make sure all required columns are present
if not all([
col in asim_output_dict[table_name].columns
for col in required_cols[table_name]]):
col in asim_output_dict[table_name].columns
for col in required_cols[table_name]]):
raise KeyError(
"Not all required columns are in the {0} table!".format(
table_name))
Expand All @@ -151,15 +151,13 @@ def _prepare_updated_tables(


def create_beam_input_data(settings, forecast_year, asim_output_dict):

asim_output_data_dir = settings['asim_local_output_folder']
archive_name = 'asim_outputs_{0}.zip'.format(forecast_year)
outpath = os.path.join(asim_output_data_dir, archive_name)
logger.info(
'Merging results back into UrbanSim format and storing as .zip!')

with zipfile.ZipFile(outpath, 'w') as csv_zip:

# copy asim outputs into archive
for table_name in asim_output_dict.keys():
logger.info(
Expand Down Expand Up @@ -190,7 +188,7 @@ def create_usim_input_data(
# Move UrbanSim input store (e.g. custom_mpo_193482435_model_data.h5)
# to archive (e.g. input_data_for_2015_outputs.h5) because otherwise
# it will be overwritten in the next step.
input_datastore_name = _get_usim_datastore_fname(settings, io='input')
input_datastore_name = get_usim_datastore_fname(settings, io='input')
input_store_path = os.path.join(data_dir, input_datastore_name)
archive_fname = 'input_data_for_{0}_outputs.h5'.format(forecast_year)
archive_path = input_store_path.replace(
Expand All @@ -208,7 +206,7 @@ def create_usim_input_data(
og_input_store = pd.HDFStore(archive_path)

# load last iter UrbanSim output data
usim_output_datastore_name = _get_usim_datastore_fname(
usim_output_datastore_name = get_usim_datastore_fname(
settings, 'output', forecast_year)
usim_output_store_path = os.path.join(data_dir, usim_output_datastore_name)
if not os.path.exists(usim_output_store_path):
Expand Down Expand Up @@ -246,8 +244,8 @@ def create_usim_input_data(

# 3. copy USIM INPUTS into new input data store if not present already
logger.info((
"Passing static UrbanSim inputs through to the new Urbansim "
"input store!").format(table_name))
"Passing static UrbanSim inputs through to the new Urbansim "
"input store!").format(table_name))
for h5_key in og_input_store.keys():
table_name = h5_key.split('/')[-1]
if table_name not in updated_tables:
Expand All @@ -261,7 +259,6 @@ def create_usim_input_data(


def create_next_iter_inputs(settings, year, forecast_year):

tables_updated_by_asim = ['households', 'persons']
asim_output_dict = _load_asim_outputs(settings)
asim_output_dict = _prepare_updated_tables(
Expand All @@ -286,7 +283,7 @@ def update_usim_inputs_after_warm_start(
# load usim data
if not usim_data_dir:
usim_data_dir = settings['usim_local_data_folder']
datastore_name = _get_usim_datastore_fname(settings, io='input')
datastore_name = get_usim_datastore_fname(settings, io='input')
input_store_path = os.path.join(usim_data_dir, datastore_name)
if not os.path.exists(input_store_path):
raise ValueError('No input data found at {0}'.format(input_store_path))
Expand Down
Loading