Re: [Tutor] sorry, another update bug

2005-01-13 Thread Kent Johnson
The problem is your mutate_genome() function which mutates the genome in place. So all the living_species are using the same genome (they all reference the same list). The solution is to have mutate_genome() copy the genome. You can do this by adding the line a_genome = a_genome[:] to the sta

[Tutor] sorry, another update bug

2005-01-12 Thread Vincent Wan
sorry to inflict another dumb bug on you all so soon... I have written a program to replicated simulate the evolution of species and their genomes based on David Raup and Stephen Jay Gould's 1974 paper in systematic zoology 23: 305-322. The program correctly evolves species and keeps track of