-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when getting scenario template #60
Comments
Hi @amy-wang, For example the function
I changed it to be: If you implement this change, I recommend adding the |
That's great to know, thank you! I'm going to try what you suggested. |
Hey @michaelavs! I tried to update the code locally and I'm now running this error:
It seems like I should add dropduplicates only if the type isn't a list, is that right? The error is occurring in line 156, I have it updated to |
I also see that you have a PR out (thank you so much!). If you can prioritize getting that merged, I'll update my github repo instead of making local changes. |
Hi @michaelavs: Side note, I'm still having trouble running this code. I'm doing some work for a think tank (www.switch.box) and we were just hoping to understand how dgen works to see how we can leverage it in the future. Is there any chance you could share output that you got from running a model for any state (though preferably New York)? I'm just trying to see what the output looks like to understand the model and resolving these bugs hasn't been the best use of my time. Thank you! |
Issue overview
I've followed all of the set up steps. When I try to run the model (
dgen_model.py
) for New York State, I'm getting this error:When I added some print statements, it appears that the length of agent_df is doubled:
Rows before function: 1147
Rows after function: 2294
Checking if agent_id duplicates exist: 1147
Details
Some additional details for this issue (if relevant):
The text was updated successfully, but these errors were encountered: