some small changes fixing two bugs
This commit is contained in:
parent
04b62427c8
commit
1911598b29
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
2
main.py
2
main.py
|
@ -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] + "%"],
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue