neherlab / covid19_scenarios

Models of COVID-19 outbreak trajectories and hospital demand
https://covid19-scenarios.org
MIT License
1.36k stars 354 forks source link

fix: load scenario json from older versions #819

Closed ivan-aksamentov closed 3 years ago

ivan-aksamentov commented 3 years ago

This fixes an error "/schemaVer should be equal to constant" when dropping a JSON file with schemaVer < 2.2.0 in scenario loader.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/neherlab/covid19-scenarios/muh1w0dg5
✅ Preview: https://covid19-scenarios-git-fix-import.neherlab.vercel.app