vivarium-public-health 3.0.6__py3-none-any.whl → 3.0.7__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vivarium_public_health/_version.py +1 -1
- vivarium_public_health/disease/transition.py +5 -3
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.7.dist-info}/METADATA +1 -1
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.7.dist-info}/RECORD +7 -7
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.7.dist-info}/WHEEL +1 -1
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.7.dist-info}/LICENSE.txt +0 -0
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.7.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
__version__ = "3.0.
|
1
|
+
__version__ = "3.0.7"
|
@@ -7,7 +7,7 @@ This module contains tools to model transitions between disease states.
|
|
7
7
|
|
8
8
|
"""
|
9
9
|
|
10
|
-
from typing import TYPE_CHECKING, Any, Callable, Dict, Union
|
10
|
+
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union
|
11
11
|
|
12
12
|
import pandas as pd
|
13
13
|
from vivarium.framework.engine import Builder
|
@@ -48,6 +48,10 @@ class RateTransition(Transition):
|
|
48
48
|
},
|
49
49
|
}
|
50
50
|
|
51
|
+
@property
|
52
|
+
def columns_required(self) -> Optional[List[str]]:
|
53
|
+
return ["alive"]
|
54
|
+
|
51
55
|
@property
|
52
56
|
def transition_rate_pipeline_name(self) -> str:
|
53
57
|
if "incidence_rate" in self._get_data_functions:
|
@@ -100,8 +104,6 @@ class RateTransition(Transition):
|
|
100
104
|
preferred_post_processor=union_post_processor,
|
101
105
|
)
|
102
106
|
|
103
|
-
self.population_view = builder.population.get_view(["alive"])
|
104
|
-
|
105
107
|
#################
|
106
108
|
# Setup methods #
|
107
109
|
#################
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: vivarium_public_health
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.7
|
4
4
|
Summary: Components for modelling diseases, risks, and interventions with ``vivarium``
|
5
5
|
Home-page: https://github.com/ihmeuw/vivarium_public_health
|
6
6
|
Author: The vivarium developers
|
@@ -1,13 +1,13 @@
|
|
1
1
|
vivarium_public_health/__about__.py,sha256=RgWycPypKZS80TpSX7o41cREnG8PfguNHDHLuLyl820,487
|
2
2
|
vivarium_public_health/__init__.py,sha256=tomMOl3PI7O8GdxDWGBiBjT0Bwd31GpyQTYTzwIv108,361
|
3
|
-
vivarium_public_health/_version.py,sha256=
|
3
|
+
vivarium_public_health/_version.py,sha256=tP42eveLWP9Mgm4I435dKZC463zDP4G3Rq_XJ9XMJAg,22
|
4
4
|
vivarium_public_health/utilities.py,sha256=5cl9jjVkOQ1UeXT4DjDMAhaBNNjAsDo-SVJwpv6FDw0,3071
|
5
5
|
vivarium_public_health/disease/__init__.py,sha256=RuuiRcvAJfX9WQGt_WZZjxN7Cu3E5rMTmuaRS-UaFPM,419
|
6
6
|
vivarium_public_health/disease/model.py,sha256=0WIYDEx-hwlUJp6Zl8m8bUMoWxuVkOWsJvh_YlZiOPs,8234
|
7
7
|
vivarium_public_health/disease/models.py,sha256=01UK7yB2zGPFzmlIpvhd-XnGe6vSCMDza3QTidgY7Nc,3479
|
8
8
|
vivarium_public_health/disease/special_disease.py,sha256=3vS1WsO__IwOK0Oe_CUmh3aaKrXIf2CANtmiqlS3pjc,14614
|
9
9
|
vivarium_public_health/disease/state.py,sha256=PUSDE1UlvoCPT6jPEyCTQO1bXjjYxqzdIa6-Bxpd-7I,22370
|
10
|
-
vivarium_public_health/disease/transition.py,sha256=
|
10
|
+
vivarium_public_health/disease/transition.py,sha256=fgeVMy86GLrNpZ3J9E4AC0iA5z3aVdP0ZQ0AWa_odTY,6452
|
11
11
|
vivarium_public_health/mslt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
vivarium_public_health/mslt/delay.py,sha256=aOYjMpMSHEVlJs0FuC2gdq3uj6_vKmkhDjoBtC4i9G0,22812
|
13
13
|
vivarium_public_health/mslt/disease.py,sha256=TBqa7yj6k1oUbgkAe0rIgLpbdMLMFs4DiZ1Igi2BQBg,16663
|
@@ -42,8 +42,8 @@ vivarium_public_health/treatment/__init__.py,sha256=wONElu9aJbBYwpYIovYPYaN_GYfV
|
|
42
42
|
vivarium_public_health/treatment/magic_wand.py,sha256=i9N57-MEuQv5B6dQ5iVMTAdOPghYcgiRRz-dTzigf1s,1980
|
43
43
|
vivarium_public_health/treatment/scale_up.py,sha256=aKJmZ2G6N80n7oPkJM8IpqZOhftUBkAMBn4hR4EZzhE,7015
|
44
44
|
vivarium_public_health/treatment/therapeutic_inertia.py,sha256=8Z97s7GfcpfLu1U1ESJSqeEk4L__a3M0GbBV21MFg2s,2346
|
45
|
-
vivarium_public_health-3.0.
|
46
|
-
vivarium_public_health-3.0.
|
47
|
-
vivarium_public_health-3.0.
|
48
|
-
vivarium_public_health-3.0.
|
49
|
-
vivarium_public_health-3.0.
|
45
|
+
vivarium_public_health-3.0.7.dist-info/LICENSE.txt,sha256=mN4bNLUQNcN9njYRc_3jCZkfPySVpmM6MRps104FxA4,1548
|
46
|
+
vivarium_public_health-3.0.7.dist-info/METADATA,sha256=yrIrajFSQQDZMMSZMwVgi8dW3iHFLhEDnmKnyspCDiY,4061
|
47
|
+
vivarium_public_health-3.0.7.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
48
|
+
vivarium_public_health-3.0.7.dist-info/top_level.txt,sha256=VVInlpzCFD0UNNhjOq_j-a29odzjwUwYFTGfvqbi4dY,23
|
49
|
+
vivarium_public_health-3.0.7.dist-info/RECORD,,
|
{vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.7.dist-info}/LICENSE.txt
RENAMED
File without changes
|
{vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.7.dist-info}/top_level.txt
RENAMED
File without changes
|