Skip to content

Commit 9762b81

Browse files
author
Michael Becker
committed
models: Remove code that was hiding the bug
1 parent 993da94 commit 9762b81

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/penn_chime/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ def build_admissions_df(p) -> pd.DataFrame:
8585
projection = pd.DataFrame.from_dict(data_dict)
8686
# New cases
8787
projection_admits = projection.iloc[:-1, :] - projection.shift(1)
88-
projection_admits[projection_admits < 0] = 0
8988
projection_admits["day"] = range(projection_admits.shape[0])
9089
return projection_admits
9190

0 commit comments

Comments
 (0)