We encountered the following error when running the gen_agent_based_demand function from the gen_agent_demand.py module:
we have an error AttributeError:'dict'object has no attribute 'x coord'
This error occurs because the function is attempting to access an x_coord attribute that is not present in the dictionary object. As this function is widely used by AB Street users, it is important to resolve this issue for continued functionality.
related to codes: https://github.com/xyluo25/grid2demand/blob/main/grid2demand/func_lib/gen_agent_demand.py
We encountered the following error when running the gen_agent_based_demand function from the gen_agent_demand.py module:
we have an error AttributeError:'dict'object has no attribute 'x coord'
This error occurs because the function is attempting to access an x_coord attribute that is not present in the dictionary object. As this function is widely used by AB Street users, it is important to resolve this issue for continued functionality.