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

add population name into Organism.status dictionary #55

Closed
mauriceling opened this issue Oct 18, 2013 · 1 comment
Closed

add population name into Organism.status dictionary #55

mauriceling opened this issue Oct 18, 2013 · 1 comment

Comments

@mauriceling
Copy link
Owner

  1. Currently, Organisms have a deme in the status dictionary, which defines sub-population.
  2. However, organisms are not aware of it's original population name.
  3. Biologically, an organism can mate between different demes (breeds, races, etc) but not between distinct populations (like between species).
  4. When reviving a simulation from database, it is often not possible to know which population it is unless we assume deme as population but that was not the original intention of deme as deme can change within a simulation.
  5. Needed to add a population name (from simulation parameters) into Organism.status.
@mauriceling
Copy link
Owner Author

  1. Database contains population name - create table if not exists organisms (start_time text, pop_name text, org_name text, generation text, key text, value text). Hence, it is possible to get original population with different demes from the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants