"Partial death" when collecting mnh events#1726
Draft
marghe-molaro wants to merge 123 commits intomasterfrom
Draft
"Partial death" when collecting mnh events#1726marghe-molaro wants to merge 123 commits intomasterfrom
marghe-molaro wants to merge 123 commits intomasterfrom
Conversation
…ging due to error when no males in population
Merged master in branch
…intained is generate_event_chains is None
…rected analysis file such as for small number of cases where the DALYs are not explicitly resolved the average DALYs are still computed correctly [skip ci]
…factor risk of death function so that this can be obtained outside of functions get_risk_of_death_from_cause
…y on unique function
…of events production
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @joehcollins,
Quick update:
This should hopefully really help you get your statistics up for your interventions project!
Just sharing this now in case you wanted to have a quick look before our in person-meeting on the 21/10/25, but we can discuss this in more detail then. If you decide you'd prefer not to use the partial death approach, the event collection including mni variables is of course still compatible.
*Across pregnancy_supervisor.py, labour.py, and postnatal_supervisor.py, I found 8 instances where do_death was invoked, if I missed anything please let me know!