There are several validation input issues regarding negative numbers.
File "/home/ella/Documents/GitHub/BDMS/tests/runnable.py", line 36, in <module>
tree.evolve(
File "/home/ella/Documents/GitHub/BDMS/bdms/tree.py", line 340, in evolve
raise TreeError(f"{capacity=} exceeded at time={current_time}")
bdms.tree.TreeError: 'capacity=2000 exceeded at time=-38.628032539305764'
There are several validation input issues regarding negative numbers.
Example:
birth_process=
bdms.poisson.DiscreteProcess([2.0, -2.0, 2.0]),Error created:
Example:
mutation_process=bdms.poisson.ConstantProcess(-0.1),#BUG cannot be negativeSimilarly the death_proccess can also be negative.