Skip to content
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

Repalce the last activity from 'None' to 'home' when using write_benchmark #121

Open
syhwawa opened this issue Jan 13, 2022 · 0 comments
Open

Comments

@syhwawa
Copy link
Contributor

syhwawa commented Jan 13, 2022

When I used write_benchmark function to write the trips and legs from population.xml, I found the last activity for every agent’s trip was defined as None which should be home. I have checked all of the None value comes from the last trips.
An easy fix can be replacing the 'None' with 'home' in the function.

trips_input
	seq	purp
0	0	work
1	1	work
2	2	work
3	3	work
4	4	work
5	5	work
6	6	work
7	7	None
8	0	work
9	1	work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant