United4Surveillance / signal-detection-tool

A tool for detection of signals in infectious disease surveillance data.
Other
8 stars 0 forks source link

[BUG] Fix coherency between text and `timeseries` in report #274

Closed jaemol closed 6 months ago

jaemol commented 6 months ago

Describe the Bug

For the total period, the report consistently says "0 signals were detected", even if signals are found. See screenshot. This is not an issue for the sections regarding the different stratas, only for the total period.

To Reproduce

Steps to reproduce the behavior:

  1. run_app with input example, 12 weeks sdp and cusum
  2. Create report, whether html or docx

Expected Behavior

Even though signals are visible in the timeseries plot for the total (potentially filtered) dataset, the text says "Using the CUSUM algorithm 0 signals were detected".

Screenshots / Code Snippets (if applicable)

image Environment (please complete the following information):

Additional Context

Add any other context about the problem here.