-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
If a non-standard schema is specified in config.yaml for the stress lookup_tables, an error is returned when creating a new instance of pybna.Stress().
Default:
Lines 211 to 215 in 14a2766
| stress: | |
| lookup_tables: | |
| shared: "generated.stress_shared" | |
| bike_lane: "generated.stress_bike_lane" | |
| crossing: "generated.stress_crossing" |
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pybna\pybna\stress.py", line 60, in __init__
self._create_lookup_table(*t)
File "pybna\pybna\stress.py", line 181, in _create_lookup_table
cur.copy_from(f,table,columns=[c[0] for c in columns],sep=";",null="")
psycopg2.errors.UndefinedTable: relation "stress_shared" does not existMetadata
Metadata
Assignees
Labels
No labels