File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -616,6 +616,11 @@ def _parse_vaccinations_by_manufacturer_used(data) -> "list[VaccinationDose]":
616616 date = parse_date (C [0 ])
617617 total_used = C [- 1 ]
618618
619+ # lines below might be needed if we will have to check another R
620+ # suppported_r = [30, 28, 18] # there are many Rs that we don't support.
621+ # if R not in suppported_r:
622+ # print(element)
623+
619624 if R == 30 :
620625 total_used = parsed_data [- 1 ].dose
621626
@@ -626,6 +631,12 @@ def _parse_vaccinations_by_manufacturer_used(data) -> "list[VaccinationDose]":
626631 if R == 28 and Ø == 2 :
627632 total_used = parsed_data [- 1 ].dose
628633
634+ if (
635+ R == 18 and Ø == 12
636+ ): # ? Ø might be days between use doses AZ 2021-11-19, 2021-11-23
637+ print (parsed_data [- 1 ])
638+ total_used = parsed_data [- 1 ].dose
639+
629640 parsed_data .append (VaccinationDose (date , total_used ))
630641
631642 return parsed_data
You can’t perform that action at this time.
0 commit comments