vivarium-public-health 4.3.11__py3-none-any.whl → 4.3.12__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.
@@ -1 +1 @@
1
- __version__ = "4.3.11"
1
+ __version__ = "4.3.12"
@@ -62,15 +62,14 @@ class ResultsStratifier(Component):
62
62
  is_vectorized=True,
63
63
  requires_columns=["current_time"],
64
64
  )
65
- # TODO [MIC-4232]: simulants occasionally have event year of end_year_year+1 if the end time plus step size
66
- # lands in the next year. possible solution detailed in ticket
67
- # builder.results.register_stratification(
68
- # "event_year",
69
- # [str(year) for year in range(self.start_year, self.end_year + 1)],
70
- # mapper=self.map_year,
71
- # is_vectorized=True,
72
- # requires_columns=["event_time"],
73
- # )
65
+ builder.results.register_stratification(
66
+ "event_year",
67
+ [str(year) for year in range(self.start_year, self.end_year + 2)],
68
+ excluded_categories=[str(self.end_year + 1)],
69
+ mapper=self.map_year,
70
+ is_vectorized=True,
71
+ requires_columns=["event_time"],
72
+ )
74
73
  # TODO [MIC-3892]: simulants occasionally have entrance year of start_year-1 if the start time minus step size
75
74
  # lands in the previous year. possible solution detailed in ticket
76
75
  # builder.results.register_stratification(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vivarium_public_health
3
- Version: 4.3.11
3
+ Version: 4.3.12
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,6 +1,6 @@
1
1
  vivarium_public_health/__about__.py,sha256=RgWycPypKZS80TpSX7o41cREnG8PfguNHDHLuLyl820,487
2
2
  vivarium_public_health/__init__.py,sha256=GDeeP-7OlCBwPuv_xQoB1wNmvCaFsqfTB7qnnYApm0w,1343
3
- vivarium_public_health/_version.py,sha256=FTMATci8OA-tNFnEujq_JNE-wHVYlo4B0glOFoqHJfs,23
3
+ vivarium_public_health/_version.py,sha256=zEQ67gb4Xf_9S7gZ75IewB6b_Uhu_8Uw-gHHbGCjkZU,23
4
4
  vivarium_public_health/utilities.py,sha256=QNXQ6fhAr1HcV-GwKw7wQLz6QyuNxqNvMA-XujKjTgs,3035
5
5
  vivarium_public_health/disease/__init__.py,sha256=VUJHDLlE6ngo2qHNQUtZ8OWH5H_T7_ao-xsYKDkRmHw,443
6
6
  vivarium_public_health/disease/exceptions.py,sha256=vb30IIV82OiDf2cNZCs_E2rF6mdDDHbnZSND60no5CU,97
@@ -31,7 +31,7 @@ vivarium_public_health/results/mortality.py,sha256=9L8tphHn2BEt5sSDkvSfcAyyhsGA_
31
31
  vivarium_public_health/results/observer.py,sha256=cyltdWY6mowUUSc8fHDWFkqJJGEFnwhcI4XB98RgJfo,7603
32
32
  vivarium_public_health/results/risk.py,sha256=bPZq2El00MZ5A6ttqA-wvbHLm4E3OZcEZOkqV_GENk4,5838
33
33
  vivarium_public_health/results/simple_cause.py,sha256=ibdE6KwhDfQWntCVkOEooBcmUydEoupmd3_poHSHyu8,1007
34
- vivarium_public_health/results/stratification.py,sha256=4I3YGHVabNAZENE7YboOtWsWU4X-8LUBJ9iwYMbpl6E,5387
34
+ vivarium_public_health/results/stratification.py,sha256=Ok0I_Vcbq6c56EXeCKjIyprwTZxAwmddx5zlTf-KOg8,5243
35
35
  vivarium_public_health/risks/__init__.py,sha256=z8DcnZGxqNVAyFZm2WAV-IVNGvrSS4izju_0DNe2Ghw,212
36
36
  vivarium_public_health/risks/base_risk.py,sha256=XrZ5iytFabPS2_9-jI0dZQKK206yy_ZvCbReUoAVrAQ,10851
37
37
  vivarium_public_health/risks/data_transformations.py,sha256=SgdPKc95BBqgMNUdlAQM8k6iaXcpxnjk5B2ySTES1Yg,9269
@@ -43,8 +43,8 @@ vivarium_public_health/treatment/__init__.py,sha256=wONElu9aJbBYwpYIovYPYaN_GYfV
43
43
  vivarium_public_health/treatment/magic_wand.py,sha256=zg4I48G-l9fC6-qjvApbM1zNACJimZlX9ZZ9fdHKwvc,1985
44
44
  vivarium_public_health/treatment/scale_up.py,sha256=_bsf9c_yVc7-q_-yBcXimISTUfYzPps1auH0uEf7sfQ,7048
45
45
  vivarium_public_health/treatment/therapeutic_inertia.py,sha256=ZIHnpuszZwA_BkS53JbSLvpcnX_bqG2knwCUyUgkA9M,2362
46
- vivarium_public_health-4.3.11.dist-info/licenses/LICENSE.txt,sha256=mN4bNLUQNcN9njYRc_3jCZkfPySVpmM6MRps104FxA4,1548
47
- vivarium_public_health-4.3.11.dist-info/METADATA,sha256=-QvvuE7m66YSkjnBa1GdUrK3bq9U3KlDlGvHxYQ0AvU,3885
48
- vivarium_public_health-4.3.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
49
- vivarium_public_health-4.3.11.dist-info/top_level.txt,sha256=VVInlpzCFD0UNNhjOq_j-a29odzjwUwYFTGfvqbi4dY,23
50
- vivarium_public_health-4.3.11.dist-info/RECORD,,
46
+ vivarium_public_health-4.3.12.dist-info/licenses/LICENSE.txt,sha256=mN4bNLUQNcN9njYRc_3jCZkfPySVpmM6MRps104FxA4,1548
47
+ vivarium_public_health-4.3.12.dist-info/METADATA,sha256=pJRU6DuPtz1vqX7ORdKb8wy-HpbqnWsRmx7SRYwWyK0,3885
48
+ vivarium_public_health-4.3.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
49
+ vivarium_public_health-4.3.12.dist-info/top_level.txt,sha256=VVInlpzCFD0UNNhjOq_j-a29odzjwUwYFTGfvqbi4dY,23
50
+ vivarium_public_health-4.3.12.dist-info/RECORD,,