From 923c275042525c03a1e752ea21dc449620da23be Mon Sep 17 00:00:00 2001 From: tm689 <tm689@cam.ac.uk> Date: Fri, 1 Mar 2024 10:56:17 +0000 Subject: [PATCH] fix: remove debug line --- coordinator/ProcessorSurveysWRT.py | 1 - 1 file changed, 1 deletion(-) diff --git a/coordinator/ProcessorSurveysWRT.py b/coordinator/ProcessorSurveysWRT.py index d2a50c2..be12633 100644 --- a/coordinator/ProcessorSurveysWRT.py +++ b/coordinator/ProcessorSurveysWRT.py @@ -179,7 +179,6 @@ def nested_to_flattened(df): row[nested_row[rr]['DiseaseName'] + '.Incident'] = nested_row[rr]['IncidenceCategory'] row[nested_row[rr]['DiseaseName'] + '.Severity'] = nested_row[rr]['SeverityCategory'] - nested_row[rr]['listResult'] = [{'Race': 'Alma', 'Genotype': 'Korte'},{'Race': 'Banan', 'Genotype': 'Malna'}] # !!!!!!!!! DELETE THIS LINE !!!!!!!!!! for i in range(len(nested_row[rr]['listResult'])): # TODO: check if the separation symbol is in the string or not row[nested_row[rr]['DiseaseName'] + '.Race'] += nested_row[rr]['listResult'][i]['Race'] -- GitLab