phenotypic.analysis.render_error_analysis_html#
- phenotypic.analysis.render_error_analysis_html(category: str, result_df: pandas.DataFrame) str[source]#
Render a self-contained HTML report for one error category.
- Parameters:
category (str) – The focused error-category token (e.g.
"debris").result_df (pandas.DataFrame) – The ranked
ErrorCutoffFinder.analyze()frame forcategory(may be empty — an empty-table report is still a valid document).
- Returns:
a heading naming the category plus the ranked result table. Pure string build (pandas
to_html+ a small inline<style>); no Plotly/Dash import.- Return type:
A complete
<html>document string