-
Notifications
You must be signed in to change notification settings - Fork 34
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
reporting organism.status['location'] for every organism in the population does not follow deployment schemes #14
Comments
Same issue applies to the organism's 'identity' and 'deme'. Expected results do not get reflected in the final report. Cause of bug is currently unknown. Observations:
|
Issue now resolved. Problem was 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.
|
|
Merge pull request #77 from clarencecastillo/master
Merge pull request #14 from mauriceling/master
Deployment schemes 2-4 does not properly change the 'location' status of every deployed organism.
The text was updated successfully, but these errors were encountered: