HighlanderLab / SIMplyBee

SIMplyBee R package extends AlphaSimR for simulating honeybee populations and breeding programmes
http://www.simplybee.info/
Other
0 stars 5 forks source link

Handling MultiColony with virgin and mated colonies #509

Open janaobsteter opened 1 year ago

janaobsteter commented 1 year ago

With the spatial mating, we might find ourselves in a situation where some queens have no drones in their vicinity and they don't get mated (theoretical situation!). When calling nFathers() (and probably some other functions), this fails because virgin queens don't have a misc field father. How do we want to handle this? Adapt the nFathers()and other functions to return 0 if there is no field? Or initiate the field even in virgin queens?

gregorgorjanc commented 1 year ago

Can you add a working example so we see the issue?