You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prashanth would like this feature and a Blood Meal Mortality fix by March 1st, 2025.
make sure the sterility modifier is between 0 and 1
In Update_Egg_Hatching(), when about to create the new cohort of larva, we use the sterility modifier and a binomial approximation to determine which larva are sterile and which are not. We create one cohort that is non-sterile and one that is sterile.
In Update_Egg_Laying(), we remove our current check for sterility
In AddAdultsAndMate(), where we create the mated female cohort, we set the cohort to be sterile if either male or female is sterile. (though you might want to know how many non-sterile females mated with sterile males) - this lets us use the same sterile flag.
In AddEggsToLayingQueue(), we add "is not sterile" to the "if has mated" check - i.e. don't lay eggs if cohort is sterile.
The text was updated successfully, but these errors were encountered:
Prashanth would like this feature and a Blood Meal Mortality fix by March 1st, 2025.
The text was updated successfully, but these errors were encountered: