Skip to content

Commit e7801a8

Browse files
committed
Merge branch 'develop' of github.com:CodeForPhilly/chime into 407-prescribe-mitigation-date
2 parents 439764e + e6ff8aa commit e7801a8

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

k8s/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
app: chime
2626
spec:
2727
containers:
28-
- image: docker.pkg.github.com/codeforphilly/chime/penn-chime:1.1.1
28+
- image: docker.pkg.github.com/codeforphilly/chime/penn-chime:1.1.2
2929
name: chime
3030
ports:
3131
- containerPort: 8000

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Setup file for chime
22
"""
3-
__version__ = "1.1.1"
3+
__version__ = "1.1.2"
44
__author__ = "Predictive Healthcare @ Penn Medicine"
55

66
from os import path

src/penn_chime/parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868
recovered: int = 0,
6969
region: Optional[Regions] = None,
7070
):
71-
self.current_hospitalized = StrictlyPositive(value=current_hospitalized)
71+
self.current_hospitalized = Positive(value=current_hospitalized)
7272

7373
Rate(value=hospitalized.rate), Rate(value=icu.rate), Rate(value=ventilated.rate)
7474
StrictlyPositive(value=hospitalized.days), StrictlyPositive(value=icu.days),

src/penn_chime/presentation.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,12 @@ def display_header(st, m, p):
5959
)
6060
st.markdown(
6161
"""*This tool was developed by the [Predictive Healthcare team](http://predictivehealthcare.pennmedicine.org/) at
62-
Penn Medicine to assist hospitals and public health officials with hospital capacity planning,
63-
but can be used anywhere in the world.
64-
Customize it for your region by modifying data inputs in the left panel.*
62+
Penn Medicine to assist hospitals and public health officials with hospital capacity planning.*"""
63+
)
64+
st.markdown(
65+
"""**Notice**: *There is a high
66+
degree of uncertainty about the details of COVID-19 infection, transmission, and the effectiveness of social distancing
67+
measures. Long-term projections made using this simplified model of outbreak progression should be treated with extreme caution.*
6568
"""
6669
)
6770

@@ -284,7 +287,7 @@ def display_sidebar(st, d: Parameters) -> Parameters:
284287

285288
# Build in desired order
286289
st.sidebar.markdown(
287-
"""**CHIME [v1.1.1](https://github.com/CodeForPhilly/chime/releases/tag/v1.1.1) ({change_date})**""".format(
290+
"""**CHIME [v1.1.2](https://github.com/CodeForPhilly/chime/releases/tag/v1.1.1) ({change_date})**""".format(
288291
change_date=CHANGE_DATE
289292
)
290293
)

src/penn_chime/validators/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self) -> None:
4747
pass
4848

4949
def validate(self, value):
50-
if 0 >= value or value >= 1:
50+
if 0 > value or value > 1:
5151
raise ValueError(f"{value} needs to be a rate (i.e. in [0,1]).")
5252

5353
class Date(Validator):

0 commit comments

Comments
 (0)