You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/penn_chime/presentation.py
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,19 @@ def display_header(st, m, p):
32
32
ifm.detection_probability
33
33
else"unknown"
34
34
)
35
+
36
+
infection_warning_str= (
37
+
"""(Warning: The number of known infections is greater than the estimate of infected patients based on inputs for current hospitalization, market share, and hospitalization rate. Please verify the market share value in the sidebar, and see if the hospitalization rate needs to be lowered.)"""
38
+
ifp.known_infected>m.infected
39
+
else""
40
+
)
41
+
42
+
infected_population_warning_str= (
43
+
"""(Warning: The number of estimated infections is greater than the total regional population. Please verify the values entered in the sidebar.)"""
0 commit comments