some small changes fixing two bugs

This commit is contained in:
stupidcomputer 2024-06-24 14:11:26 -05:00
parent 04b62427c8
commit 1911598b29
2 changed files with 2 additions and 1 deletions

View File

@ -41,4 +41,5 @@ mapper_data = {
"None": "Unknown", "None": "Unknown",
"nh/opi": "Native Hawaiian/Other Pacific Islander", "nh/opi": "Native Hawaiian/Other Pacific Islander",
"i": "Intern", "i": "Intern",
"u/o": "Unknown/Other",
} }

View File

@ -231,7 +231,7 @@ def generate_final_report_data(ws):
[(total_girls + total_boys) / total_sites, ""], [(total_girls + total_boys) / total_sites, ""],
["", ""], ["", ""],
["Percentages of Relevant Demographics", ""], ["Percentages of Relevant Demographics", ""],
["Girls", str(total_girls / total_children * 100)[:5] + "% + "%""], ["Girls", str(total_girls / total_children * 100)[:5] + "%"],
["Hispanic", str(int(ethnicity_breakdown[0][1]) / total_children * 100)[:5] + "%"], ["Hispanic", str(int(ethnicity_breakdown[0][1]) / total_children * 100)[:5] + "%"],
["People of Color", str(int(race_breakdown[3][1]) / total_children * 100)[:5] + "%"], ["People of Color", str(int(race_breakdown[3][1]) / total_children * 100)[:5] + "%"],
] ]