Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/s3_upload_ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:

- name: Cleanup
if: ${{ always() }}
run: docker ps -q | xargs -n 1 -P 8 -I {} docker stop {}
run: |
docker image prune -a -f
docker container prune -f
docker ps -q | xargs -n 1 -P 8 -I {} docker stop {}



2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ S3_BUCKET=s3://forecast-eval
build: build_dashboard

r_build:
docker build --no-cache --pull -t forecast-eval-build docker_build
docker build --no-cache --force-rm --pull -t forecast-eval-build docker_build

%.rds: dist
test -f dist/$@ || curl -o dist/$@ $(S3_URL)/$@
Expand Down
2 changes: 0 additions & 2 deletions app/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -654,12 +654,10 @@ server <- function(input, output, session) {

# When the target variable changes, update available forecasters, locations, and CIs to choose from
observeEvent(input$targetVariable, {

## summaryPlot will try to use PREV_AS_OF_DATA()
## since it has wrong data information, it needs to be removed
PREV_AS_OF_DATA(NULL)
if (input$targetVariable == "Deaths") {

## Defining Filter
FILTER <- DEATH_FILTER
} else if (input$targetVariable == "Cases") {
Expand Down