Skip to content

Commit 9ae70e4

Browse files
committed
Update model.py
1 parent 6dc57c9 commit 9ae70e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wsimod/orchestration/model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ def load(self, address, config_name="config.yml", overrides={}):
261261
unified_data_file = data.get("unified_data_file")
262262
if unified_data_file and PARQUET_AVAILABLE:
263263
self._load_unified_data(address, unified_data_file, nodes, data)
264+
elif unified_data_file and not PARQUET_AVAILABLE:
265+
raise ValueError("Parquet support is required for unified data loading")
264266
else:
265267
self._load_individual_files(address, nodes, data)
266268
arcs = data.get("arcs", {})

0 commit comments

Comments
 (0)