08_revive_simulation_03.py returns a TypeError exception when reconstructing World
clarencecastillo opened this issue · 1 comments
clarencecastillo commented
C:\Users\13035006\SkyDrive\GitHub\dose\examples>python 08_revive_simulation_03.py
Traceback (most recent call last):
File "08_revive_simulation_03.py", line 111, in <module>
dose.revive_simulation(rev_parameters, simulation_functions)
File "C:\Users\13035006\SkyDrive\GitHub\dose\dose\dose.py", line 568, in revive_simulation
simulation_core(sim_functions, rev_parameters, Populations, World)
File "C:\Users\13035006\SkyDrive\GitHub\dose\dose\simulation_calls.py", line 68, in simulation_core
pop_name, World)
File "C:\Users\13035006\SkyDrive\GitHub\dose\dose\simulation_calls.py", line 204, in interpret_chromosome
(x,y,z) = coordinates(location)
File "C:\Users\13035006\SkyDrive\GitHub\dose\dose\simulation_calls.py", line 89, in coordinates
x = location[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
clarencecastillo commented
Fixed. (See commit: 7d57351)
- Cause of bug was not in reconstruction of World, but in the revival of an organism.