Skip to content

Commit 2fbf342

Browse files
committed
more empty folders need to be created
tm2py run failed when maz_demand, air_passenger and commercial folders did not already exist
1 parent 57f1f17 commit 2fbf342

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tm2py/setup_model/setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ def run_setup(self):
6464
"CTRAMP",
6565
"ctramp_output",
6666
"demand_matrices",
67+
"demand_matrices/highway",
68+
"demand_matrices/highway/air_passenger",
69+
"demand_matrices/highway/household",
70+
"demand_matrices/highway/maz_demand",
71+
"demand_matrices/highway/internal_external",
72+
"demand_matrices/highway/commercial",
73+
"demand_matrices/transit",
6774
"emme_project",
6875
"inputs",
6976
"logs",
@@ -155,7 +162,7 @@ def _create_folder_structure(self, folder_names, root_dir, logger):
155162
for folder in folder_names:
156163
path = os.path.join(root_dir, folder)
157164
os.makedirs(path)
158-
# logger.info(f" Created Empty Folder: {path}")
165+
logger.info(f" Created Empty Folder: {path}")
159166

160167
def _copy_folder(self, src_dir, dest_dir, logger):
161168
"""

0 commit comments

Comments
 (0)