Skip to content

Commit cc0360c

Browse files
committed
Updates from develop
2 parents 318cf13 + e1f3aca commit cc0360c

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/pythonapp.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@ jobs:
4444
uses: cypress-io/[email protected]
4545
with:
4646
working-directory: e2e
47+
wait-on: 'http://localhost:8000'
48+
wait-on-timeout: 300
4749

e2e/cypress/integration/tests/actions.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ context('Actions', () => {
1010

1111
// This gets the "first" input from the sidebar. From clicking step up,
1212
// the Regional Population should increase from default 4119405 to 4219405.
13-
// Updated to 3600001
13+
// Updated to 3600000
1414
cy.get('input.st-al').eq(0)
15-
.should('has.value', '360001')
15+
.should('has.value', '3600000')
1616
})
1717
});

src/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
display_more_info(st=st, model=m, parameters=p, defaults=DEFAULTS, notes=notes)
3939

4040
st.subheader("New Admissions")
41-
st.markdown("Projected number of **daily** COVID-19 admissions. \n\n _NOTE: Now including back-casting of prior admissions for comparison._")
41+
st.markdown("Projected number of **daily** COVID-19 admissions. \n\n _NOTE: Now including estimates of prior admissions for comparison._")
4242
admits_chart = build_admits_chart(alt=alt, admits_df=m.admits_df, max_y_axis=p.max_y_axis)
4343
st.altair_chart(admits_chart, use_container_width=True)
4444
st.markdown(build_descriptions(chart=admits_chart, labels=p.labels, suffix=" Admissions"))
@@ -60,7 +60,7 @@
6060

6161

6262
st.subheader("Admitted Patients (Census)")
63-
st.markdown("Projected **census** of COVID-19 patients, accounting for arrivals and discharges \n\n _NOTE: Now including back-casting of prior census for comparison._")
63+
st.markdown("Projected **census** of COVID-19 patients, accounting for arrivals and discharges \n\n _NOTE: Now including estimates of prior census for comparison._")
6464
census_chart = build_census_chart(alt=alt, census_df=m.census_df, max_y_axis=p.max_y_axis)
6565
st.altair_chart(census_chart, use_container_width=True)
6666
st.markdown(build_descriptions(chart=census_chart, labels=p.labels, suffix=" Census"))

src/penn_chime/presentation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def display_sidebar(st, d: Parameters) -> Parameters:
191191
)
192192
doubling_time_input = NumberInput(
193193
st_obj,
194-
"Doubling time before social distancing (days)",
194+
"Doubling time in days (up to today)",
195195
min_value=0.5,
196196
value=d.doubling_time,
197197
step=0.25,
@@ -282,8 +282,6 @@ def display_sidebar(st, d: Parameters) -> Parameters:
282282
"""**CHIME [v1.1.0](https://github.com/CodeForPhilly/chime/releases/tag/v1.1.0) (2020/03/30)**"""
283283
)
284284

285-
current_date = current_date_input()
286-
287285
st.sidebar.markdown(
288286
"### Hospital Parameters [ℹ]({docs_url}/what-is-chime/parameters#hospital-parameters)".format(
289287
docs_url=DOCS_URL
@@ -336,6 +334,8 @@ def display_sidebar(st, d: Parameters) -> Parameters:
336334
if max_y_axis_set:
337335
max_y_axis = max_y_axis_input()
338336

337+
current_date = current_date_input()
338+
339339
return Parameters(
340340
current_hospitalized=current_hospitalized,
341341
hospitalized=Disposition(hospitalized_rate, hospitalized_days),

0 commit comments

Comments
 (0)