rcpch / national-paediatric-diabetes-audit

A django application to audit the care of children and young people with diabetes in England and Wales.
0 stars 1 forks source link

Weight mixed up with height in CSV upload #359

Closed mbarton closed 2 weeks ago

mbarton commented 2 weeks ago
  1. Upload dummy_sheet.csv

Expected: each visit has the correct height and weight Actual: weight is set to height

mbarton commented 2 weeks ago

There's a variant of this problem where it crashes because weight is not in the form (see https://github.com/rcpch/national-paediatric-diabetes-audit/pull/341#issuecomment-2447877749). I'm not sure how that happens because if I take out the offending rows into a separate CSV file it works. Either way the fix is the same