mauriceling/dose — pull request #16 by clarencecastillo (2013-10-02 17:01:39+00:00)
Title: Fixed uniform changing of specific parameters bug in status dictionary of organisms

Problem caused by genetic.py's Organism.clone(). Function does not properly deepcopy() the status dictionary of each organisms. It simply references all status dictionary of all organisms into one original dictionary. Reporting location, deme, identity and genome now show the desired results. Was resolved by manually referencing each of the original organism to be cloned's status dictionary keys into the different clones. See genetic.py.

1. Expected values from specific status dictionary keys are now reported correctly after the simulation.

2. Organism.clone() function now manually copies the organism's dictionary, key by key.

3. Rewritten deployment scheme 3 to cater populations that return a remainder when splitting population according to the number of locations specified. Scheme now iterates through the list of locations.