MIT-LCP / waveform-annotation

Platform for annotating physiological waveform data.
11 stars 4 forks source link

Prevents empty user assignments #29

Closed Lucas-Mc closed 3 years ago

Lucas-Mc commented 3 years ago

This change prevents events with no users assigned to them from being saved to the user_annotations.csv file. Steps to re-create this bug are:

  1. Assign yourself annotations
  2. Check the user_annotations.csv file and it should still be populated with the assigned events and with your username assigned to each
  3. Revoke your annotations
  4. Check the user_annotations.csv file and it should still be populated with the assigned events but this time with no users assigned to each