build_report_pdf

Function build_report_pdf 

Source
pub fn build_report_pdf(
    records: &[SampleSusceptibilityRecord],
    report_max_age_days: u32,
) -> Vec<u8> 
Expand description

Build a landscape A4 PDF report from AB1 scan records. Filtered to gene-identified records with identity ≥ MIN_SEQ_ID_IDENTITY, same as the CSV output, and to samples no older than report_max_age_days (see TBConfig::report_max_age_days).