gsztlyptr commited on
Commit
2c2d7fa
·
verified ·
1 Parent(s): 5b440d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -946,7 +946,7 @@ def asclsil_rate_overview_cp(cp_select):
946
  else:
947
  ct_comment_2 =""
948
  elif 3 < last_result < 3.75:
949
- ct_comment = f"Your latest record from **{last_year}**is in the laboratory borderline zone **{last_result:.1f}**."
950
  if last_result > second_last_result:
951
  ct_comment_2 = f"An increase in the ASC/LSIL ratio can be observed since previous record **({second_last_result:.1f})** from **{second_last_year}**."
952
  else:
@@ -959,7 +959,7 @@ def asclsil_rate_overview_cp(cp_select):
959
  ct_comment_2 = f"<br>Please consult with a cytopathologist about your result since your ASC/LSIL ratio worsened since your last record **({second_last_result:.1f})** from **{second_last_year}**."
960
  return pn.pane.Markdown(f"""
961
  ## ASC/LSIL Overview:
962
- **Description:** *ASC/LSIL value represents the ASC-US, ASC-H diagnoses compared to LSIL diagnoses. Considerable elevation (Z Score > 2) from reference value {df.iat[0,6]} requires attention. A lower result than 1.5 could imply an increase in false negative interpretations.*<br><br>
963
  **Result:** {ct_comment} {ct_comment_2}
964
  """, sizing_mode ="stretch_width", styles={'font-size': fpx})
965
  else:
 
946
  else:
947
  ct_comment_2 =""
948
  elif 3 < last_result < 3.75:
949
+ ct_comment = f"Your latest record from **{last_year}** is in the laboratory borderline zone **{last_result:.1f}**."
950
  if last_result > second_last_result:
951
  ct_comment_2 = f"An increase in the ASC/LSIL ratio can be observed since previous record **({second_last_result:.1f})** from **{second_last_year}**."
952
  else:
 
959
  ct_comment_2 = f"<br>Please consult with a cytopathologist about your result since your ASC/LSIL ratio worsened since your last record **({second_last_result:.1f})** from **{second_last_year}**."
960
  return pn.pane.Markdown(f"""
961
  ## ASC/LSIL Overview:
962
+ **Description:** *ASC/LSIL value represents the ASC-US, ASC-H diagnoses compared to LSIL diagnoses. Considerable elevation (Z Score > 2) from reference value {df.iat[0,5]} requires attention. A lower result than 1.5 could imply an increase in false negative interpretations.*<br><br>
963
  **Result:** {ct_comment} {ct_comment_2}
964
  """, sizing_mode ="stretch_width", styles={'font-size': fpx})
965
  else: