childmindresearch / app-actigraphy

A webapp for annotating actigraphy data
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Bug: Wrongly assigning a non-wear time to an activity window. #44

Closed nathaliaesper closed 9 months ago

nathaliaesper commented 9 months ago

Description

The green shading for non-wear time shows at the beginning of the day on two occasions:

  1. Before data recording started, and
  2. Overlapping with clear periods where the watch was worn.

Steps to Reproduce

Open the app by running the command docker run -p 127.0.0.1:8051:8051 --volume ~/Documents/TEMP/actigraphy_tests/subjects:/data --volume 'pwd'/assets:/app/assets cmidair/actigraphy:latest

Sample 1: NDARBB118UDB on day 1 - Thursday 17 May 2018. Sample 2: NDARBC296PLU on day 1 - Tuesday 06 March 2018.

Expected Results

The expected result is not to see the green shading since the graph clearly shows that the mentioned time is a wear time.

Actual Results

This is the actual result for Sample 1: Screen Shot 2024-01-15 at 6 55 57 PM

And this is the actual result for Sample 2: Screen Shot 2024-01-15 at 7 06 25 PM

Additional Notes

You can find the data to reproduce this bug on ACCESS: /ocean/projects/med220004p/shared/data_derived/Actigraphy/data_to_reproduce_bugs