vivarium-public-health 3.0.6__py3-none-any.whl → 3.0.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.8.dist-info}/METADATA +2 -2
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.8.dist-info}/RECORD +7 -7
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.8.dist-info}/WHEEL +1 -1
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.8.dist-info}/LICENSE.txt +0 -0
- {vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.8.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
__version__ = "3.0.
|
1
|
+
__version__ = "3.0.8"
|
@@ -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.8
|
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
|
@@ -26,7 +26,7 @@ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
|
|
26
26
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
27
27
|
Classifier: Topic :: Software Development :: Libraries
|
28
28
|
License-File: LICENSE.txt
|
29
|
-
Requires-Dist: vivarium >=3.0.
|
29
|
+
Requires-Dist: vivarium >=3.0.3
|
30
30
|
Requires-Dist: layered-config-tree >=1.0.1
|
31
31
|
Requires-Dist: loguru
|
32
32
|
Requires-Dist: numpy <2.0.0
|
@@ -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=t6JaFW2r7Vd60izKSV1CNQtiT1rd9_DbycKPMMs3QA8,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.8.dist-info/LICENSE.txt,sha256=mN4bNLUQNcN9njYRc_3jCZkfPySVpmM6MRps104FxA4,1548
|
46
|
+
vivarium_public_health-3.0.8.dist-info/METADATA,sha256=shnXq_LcxkxGy5qfx_3Kv1mF7Q8WCUhEIgziwNJPeXs,4061
|
47
|
+
vivarium_public_health-3.0.8.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
48
|
+
vivarium_public_health-3.0.8.dist-info/top_level.txt,sha256=VVInlpzCFD0UNNhjOq_j-a29odzjwUwYFTGfvqbi4dY,23
|
49
|
+
vivarium_public_health-3.0.8.dist-info/RECORD,,
|
{vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.8.dist-info}/LICENSE.txt
RENAMED
File without changes
|
{vivarium_public_health-3.0.6.dist-info → vivarium_public_health-3.0.8.dist-info}/top_level.txt
RENAMED
File without changes
|