InstituteforDiseaseModeling / covasim

COVID-19 Agent-based Simulator (Covasim): a model for exploring coronavirus dynamics and interventions
https://covasim.org
MIT License
250 stars 223 forks source link

Fix compute_r_eff() error message #295

Closed imcatta closed 3 years ago

imcatta commented 3 years ago

If you pass an unrecognized method name to _.compute_reff() it raises an exception having the following error message: 'Method must be "daily", "infected", or "outcome", not "{method}"', but the accepted method names are "daily", "infectious" and "outcome".

This pull request fixes the error message.