epiforecasts / forecast.vocs

Contains models and tools to produce short-term forecasts for both case and sequence notifications assuming circulation of either one or two variants. Tools are also provided to allow the evaluation of the use of sequence data for short-term forecasts in both real-world settings and in user generated scenarios.
http://epiforecasts.io/forecast.vocs
Other
8 stars 3 forks source link

fix indexing #111

Closed sbfnk closed 2 years ago

sbfnk commented 2 years ago

Fixes a bug whereby certain combinations of data availability and truncation can lead to attempts to access non-existing indices.

codecov[bot] commented 2 years ago

Codecov Report

Merging #111 (2f15785) into main (19ae935) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 2f15785 differs from pull request most recent head 3386302. Consider uploading reports for the commit 3386302 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #111   +/-   ##
=======================================
  Coverage   93.14%   93.14%           
=======================================
  Files          14       14           
  Lines         919      919           
=======================================
  Hits          856      856           
  Misses         63       63           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 19ae935...3386302. Read the comment docs.