EMOD-Hub / EMOD

Source files for building the IDM EMOD disease transmission model.
MIT License
93 stars 41 forks source link

Vector Genetics: Gender Gene needs to be first in the the dictionary, otherwise it's treated as any other gene. #57

Open stitova-idm opened 5 hours ago

stitova-idm commented 5 hours ago

"Is_Gender_Gene": 1 marks the gene as gender gene. Expectations is that gene will then be used as a gender gene. However, this only works of this gene is the first in the list of Genes:[]

This works: image

Does not work correctly: image image

We need to either fix it so the user can use "Is_Gender_Gene": 1 in any entree or error out and tell the user to make the first entree the gender gene.

stitova-idm commented 5 hours ago

Duplicate of https://github.com/InstituteforDiseaseModeling/DtkTrunk/issues/4576