alpha mating crashing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
newAge |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When apply alpha males, the program crashes
Traceback (most recent call last):
File "/home/
pop.
File "/home/
expected = int(self.
File "/home/
return _dw(self.
ValueError: Population local namespace does not have key 'subPop'. You may forgot to call the Stat operator, or use the 'vars' parameter to generate subpopulation-
Traceback (most recent call last):
File "/home/
evolution.
File "/home/
gen = gens,
ValueError: Function call failed.
Changed in newage: | |
status: | New → Fix Committed |
I am adding all these configs to the distribution. Serve both as
examples and future test cases. Will fix this today.
2010/9/29 Andrés Pérez-Figueroa <email address hidden>: /bugs.launchpad .net/bugs/ 650980/ +attachment/ 1652566/ +files/ config /bugs.launchpad .net/bugs/ 650980 andres/ tasks/NewAge/ soft/src/ NewAge/ Sim/LifeHistory .py", line 16, in callPreOps ).history. checkAlphas( pop) andres/ tasks/NewAge/ soft/src/ NewAge/ Sim/LifeHistory .py", line 296, in checkAlphas pars.alphaProp* pop.dvars( p).numOfMales) andres/ soft/simuPOP- 1.0.2/build/ lib.linux- i686-2. 6/simuPOP/ __init_ _.py", line 357, in dvars vars(*args, **kwargs)) specific statistics. andres/ tasks/NewAge/ soft/src/ NewAge/ UI/wxUI. py", line 290, in __simulate evolve( pars.runTime) andres/ tasks/NewAge/ soft/src/ NewAge/ Sim/Evolution. py", line 59, in evolve
>
> ** Attachment added: "config"
> https:/
>
> --
> alpha mating crashing
> https:/
> You received this bug notification because you are a member of newAge,
> which is the registrant for newAge.
>
> Status in newAge: A population genetics workbench to simulate and analise age-structured populations: New
>
> Bug description:
> When apply alpha males, the program crashes
>
> Traceback (most recent call last):
> File "/home/
> pop.dvars(
> File "/home/
> expected = int(self.
> File "/home/
> return _dw(self.
> ValueError: Population local namespace does not have key 'subPop'. You may forgot to call the Stat operator, or use the 'vars' parameter to generate subpopulation-
> Traceback (most recent call last):
> File "/home/
> evolution.
> File "/home/
> gen = gens,
> ValueError: Function call failed.
>
>
>
--
"If you want to get laid, go to college. If you want an education, go
to the library." - Frank Zappa