BoHuangLab commited on
Commit
8ea4a96
·
verified ·
1 Parent(s): 69a3abb

Condensate Titration: report only AUC, AAC and sequence length

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -141,16 +141,11 @@ def plot_samples(result: pipeline.Result):
141
 
142
 
143
  def summary_markdown(result: pipeline.Result) -> str:
144
- csat = "not reached" if result.c_sat == float("inf") else f"{result.c_sat:.0f}"
145
  return f"""
146
  | | |
147
  |---|---|
148
  | **AUC** — area under the curve, condensation propensity | **{result.auc:.4f}** |
149
  | **AAC** — area above the curve, reentrant dissolution | **{result.aac:.4f}** |
150
- | No-reentrant AUC | {result.no_reentrant_auc:.4f} |
151
- | c<sub>sat</sub> (first intensity at P ≥ 0.8) | {csat} |
152
- | Condensed calls | {int(result.predictions.sum())} / {len(result.predictions)} |
153
- | Moving-average window | {result.window} |
154
  | Sequence length | {len(result.sequence)} aa |
155
 
156
  Both areas are normalised by the width of the log-intensity range, so they lie in
 
141
 
142
 
143
  def summary_markdown(result: pipeline.Result) -> str:
 
144
  return f"""
145
  | | |
146
  |---|---|
147
  | **AUC** — area under the curve, condensation propensity | **{result.auc:.4f}** |
148
  | **AAC** — area above the curve, reentrant dissolution | **{result.aac:.4f}** |
 
 
 
 
149
  | Sequence length | {len(result.sequence)} aa |
150
 
151
  Both areas are normalised by the width of the log-intensity range, so they lie in