cmu-delphi / www-epivis

An interactive tool for visualizing epidemiological time-series data.
http://delphi.cmu.edu/epivis/
MIT License
1 stars 3 forks source link

Cannot group by with uploaded CSV #24

Closed krivard closed 2 years ago

krivard commented 2 years ago

Wellp, we released 2.0.2, but it turns out we didn't mention a critical requirement: groupby support.

Steps to reproduce:

  1. Go to https://delphi.cmu.edu/epivis/
  2. Click "Import dataset from a local CSV file"
  3. Upload the attached file groupby-test.csv
  4. Select "no" for "has header row"
  5. Select "0" for "which column contains dates"
  6. Select "yes" for "group by column"
  7. Select "1" from "which column should be grouped"
  8. Click "Import file"

Actual behavior

Nothing happens; modal remains visible and retains focus. No data entries are added. In Console, the following error appears: image

Expected behavior

The modal disappears. A new data entry with four series is added.

Context

Chrome Version 104.0.5112.101 on MacOSX 12.5