Priesemann-Group/covid19_inference

AttributeError: 'RKI' object has no attribute 'get_new_confirmed' & 'get_confirmed'

Closed this issue · 2 comments

Hi,

there is a small bug in the jupyter notebook "example_one_bundesland.ipynb" at the create model section. I guess the call needs to be changed as follows:

total_cases = rki.get_total(value="confirmed", bundesland="Sachsen",data_begin=bd, data_end=ed)
new_cases_obs = rki.get_new(value="confirmed", bundesland="Sachsen",data_begin=bd, data_end=ed)```

Best regards
Paulo

The example_one_bundesland.ipynb wasn't updated for some time but this problem will be fixed in the next main version.
Was already fixed on commit e285ca5, the branch just has to be merged.

Nevertheless, thanks a lot for your input and help.

Merged to master b39a992