Closed mbarton closed 4 months ago
The line number means if constants_list2 == TRUSTS
must be true so we should be failing on HBT (Trusts & Health Boards) - SHEET 2
I'm not really sure it's going to be possible to work out what KPI is missing values without adding some additional logging
Added additional logging:
django-1 | INFO [epilepsy12.common_view_functions.aggregate_by:798] Missing numerator for 7A6 1. Paediatrician with expertise paediatrician_with_expertise_in_epilepsies
django-1 | INFO [epilepsy12.common_view_functions.aggregate_by:801] Missing denominator for 7A6 1. Paediatrician with expertise paediatrician_with_expertise_in_epilepsies
however in #902 I didn't add the correct early returns so it still crashes. Will address in a new PR