Thanks for advice, using a uses csv file got around the error.
Unfortunately I've run in to another error. I thought that AequilibraE reads its default modes as c,t,b,w and if the link allows multiple modes it's written as "cw", etc.
Formatting my allowed_used/modes like this, I'm getting the error below.
Traceback (most recent call last):
File "//app/userdata/Worked_on_Code/Create_from_gmns.py", line 132, in <module>
^
File "/usr/local/lib/python3.11/site-packages/aequilibrae/project/network/network.py", line 253, in create_from_gmns
gmns_builder.doWork()
File "/usr/local/lib/python3.11/site-packages/aequilibrae/project/network/gmns_builder.py", line 175, in doWork
mode_ids_list = self.save_modes_to_aeq()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aequilibrae/project/network/gmns_builder.py", line 449, in save_modes_to_aeq
ids.add(modes[mode])
~~~~~^^^^^^
KeyError: 'cwbt'
I believe this might be related to the use_group file I'm using. I've never used a use_group file before so it may be formatted wrong. I'm using the one provided in the create_from_gmns example.
Any help would be greatly appreciated. I've included the code that I'm using, along with a screenshot of the link's file and use_group file.
Thanks.