Skip to content

Commit

Permalink
add protectleg3other
Browse files Browse the repository at this point in the history
  • Loading branch information
linozen committed Aug 24, 2021
1 parent c42ad77 commit 9b7bf7f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion explorer/merged.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ def get_merged_cs_df():
"CSprotectleg3[free_counsel]",
"CSprotectleg3[cost_insurance]",
"CSprotectleg3[other]",
"CSprotectleg3other",
"CSconstraintinter1",
"CSconstraintinter2",
"CSconstraintinter3",
Expand Down Expand Up @@ -408,6 +409,7 @@ def get_merged_ms_df():
"MSprotectleg3[free_counsel]",
"MSprotectleg3[cost_insurance]",
"MSprotectleg3[other]",
"MSprotectleg3other",
"MSconstraintinter1",
"MSconstraintinter2",
"MSconstraintinter3",
Expand Down Expand Up @@ -1513,7 +1515,6 @@ def get_merged_ms_df():
protectleg3_prefer_not_to_say.append(count)
else:
continue

st.plotly_chart(
generate_stacked_bar_chart(
data=[
Expand Down Expand Up @@ -1547,6 +1548,11 @@ def get_merged_ms_df():
)
)

st.write("### If you selected ‘other’, please specify `[protectleg3other]`")
for i in df[filter]["protectleg3other"].to_list():
if type(i) != float:
st.write("- " + i)

st.write("# Constraints")

st.write("## Interferences")
Expand Down

0 comments on commit 9b7bf7f

Please sign in to comment.