File tree 1 file changed +11
-0
lines changed
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]":
616
616
date = parse_date (C [0 ])
617
617
total_used = C [- 1 ]
618
618
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
+
619
624
if R == 30 :
620
625
total_used = parsed_data [- 1 ].dose
621
626
@@ -626,6 +631,12 @@ def _parse_vaccinations_by_manufacturer_used(data) -> "list[VaccinationDose]":
626
631
if R == 28 and Ø == 2 :
627
632
total_used = parsed_data [- 1 ].dose
628
633
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
+
629
640
parsed_data .append (VaccinationDose (date , total_used ))
630
641
631
642
return parsed_data
You can’t perform that action at this time.
0 commit comments