Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make-table fails if Italy is skipped #91

Open
Sjors opened this issue Apr 28, 2020 · 1 comment
Open

make-table fails if Italy is skipped #91

Sjors opened this issue Apr 28, 2020 · 1 comment

Comments

@Sjors
Copy link

Sjors commented Apr 28, 2020

If you remove Italy from data/regions.csv, the model run throws an error due to these special case lines:

dates_italy <- dates[[which(countries == "Italy")]]
len_dates <- length(dates_italy)

That should be easy to prevent by checking if "Italy" is in countries.

There's also some special case code for the UK.

@s-mishra
Copy link
Member

Hi @Sjors,

Thanks for pointing that out. We will amend that in the next release. Also the code for UK is just for handling a special case; it doesn't affect if UK is in there or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants