Skip to content

Commit

Permalink
fix broken import (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmudambi authored Sep 13, 2024
1 parent 9912a0b commit c2a243f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**3.0.9 - 09/12/24**

- Fix broken import in scale_up module

**3.0.8 - 09/12/24**

- Fix broken tests in RiskAttributableDisease due to changes in how to set population_view
Expand Down
2 changes: 1 addition & 1 deletion src/vivarium_public_health/treatment/scale_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from vivarium import Component
from vivarium.framework.engine import Builder
from vivarium.framework.lookup import LookupTable
from vivarium.framework.time import Time
from vivarium.framework.values import Pipeline
from vivarium.types import Time

from vivarium_public_health.utilities import EntityString

Expand Down
7 changes: 7 additions & 0 deletions tests/treatment/test_scale_up.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from vivarium_public_health.treatment import LinearScaleUp


def test_linear_scale_up_instantiation():
scale_up = LinearScaleUp("treatment.sqlns")

assert scale_up.treatment == "treatment.sqlns"

0 comments on commit c2a243f

Please sign in to comment.