Comment 6 for bug 607312

Revision history for this message
Tiago Antao (tiagoantao) wrote : Re: [Bug 607312] Re: Test culling

I think you did not saved the file after simulation (I think I have to
force save automatically, I am always doing this mistake), so this is
an interval culling without interval time specified (thus crashes). I
suppose you were testing something else (either an interval culling
with an interval specified or another type of culling)?

2010/7/23 Andrés Pérez-Figueroa <email address hidden>:
> You've solved for that config. But that config is for a stable population.
> When tried the attached it crashes whe culling should be performed.
>
> Traceback (most recent call last):
>  File "/home/andres/tasks/NewAge/soft/src/NewAge/Sim/PopControl.py", line 8, in callPostOps
>    pop.dvars().control.culling(pop)
>  File "/home/andres/tasks/NewAge/soft/src/NewAge/Sim/PopControl.py", line 68, in culling
>    if len(myRremove) > (total-self.pars.cullObjective):
> NameError: global name 'myRremove' is not defined
> Traceback (most recent call last):
>  File "/home/andres/tasks/NewAge/soft/src/NewAge/UI/wxUI.py", line 290, in __simulate
>    evolution.evolve(pars.runTime)
>  File "/home/andres/tasks/NewAge/soft/src/NewAge/Sim/Evolution.py", line 58, in evolve
>    gen          = gens,
> ValueError: Function call failed.
>
>
> ** Attachment added: "config"
>   http://launchpadlibrarian.net/52369772/config
>
> --
> Test culling
> https://bugs.launchpad.net/bugs/607312
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
"If you want to get laid, go to college.  If you want an education, go
to the library." - Frank Zappa