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

Albrja/mic 5371/maternal sepsis tree #11

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

albrja
Copy link
Collaborator

@albrja albrja commented Nov 21, 2024

Albrja/mic 5371/maternal sepsis tree

Implements decision for simulants to get maternal sepsis

Changes and notes

-implements maternal sepsis cause choice
-small refactor to state machine for model to make more configurable

Verification and Testing

Successfully ran simulation with correct columns being updated.

@@ -23,30 +21,6 @@
from vivarium_gates_mncnh.utilities import get_location


class TreeMachine(Machine):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These classes got moved to tree.py and were made more configurable for future decision trees.

@@ -56,7 +56,6 @@ def setup(self, builder: Builder):
Interface to several simulation tools.
"""
self.time_step = builder.time.step_size()
self._sim_step_name = builder.time.simulation_event_name()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just wasn't being used for the pregnancy component.

@albrja albrja merged commit 94fa1d3 into main Nov 21, 2024
11 checks passed
@albrja albrja deleted the albrja/mic-5371/maternal-sepsis-tree branch November 21, 2024 23:41
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

Successfully merging this pull request may close these issues.

2 participants