Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialization_Mask* parameters do not work and are currently disabled. #65

Open
stitova-idm opened this issue Nov 23, 2024 · 0 comments

Comments

@stitova-idm
Copy link
Collaborator

Initially, only "16" (LarvalHabitat masking) was implemented (with issues, please see: https://github.com/InstituteforDiseaseModeling/DtkTrunk/issues/4233 and other issues with key words "mask" and "serialization"). However, as of right now - using Serialization_Mask_Node_Read/Write: 16 causes an error and a crash - when simulation is de-serialized, larval_habitat_multiplier object is initialized before vector population is added which causes it to initialize incorrectly (with second map parameter, which is supposed to be vector species, as null) so when the sim tries to access it via NodeVector::GetLarvalHabitatMultiplier when creating the new Larval_Habitats, it ends up accessing map parameters that don't exist, which crashes the simulation.
Notably, even when this "worked" LarvalHabitatMultipliers from demographics files weren't actually used, which is not what you would expect when you are initializing all new larval habitats from your config files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant