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

Understand the reason behind unassigned gender, age and location to last individuals in the population at the end of the simulation #63

Open
crangelsmith opened this issue Oct 30, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@crangelsmith
Copy link
Collaborator

We observe that at the last step of the simulation, the individuals generated by the Immigration module do not get assigned an age, gender and ethnicity (this does happen correctly in the previous steps).

Here an example:

Screenshot 2020-10-30 at 13 10 43

This should be linked to the immigration component in vivarium_population_spenser/population/immigration.py. I suspect that the data index doesn't get updated properly before the simulation ends.

Currently we ignore those individuals (that is the reason that we always select individuals with an assigned sex), but it would be useful to fix this problem.

@crangelsmith crangelsmith added the bug Something isn't working label Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant