Skip to content

feat: add single-mode HTML report#70

Merged
timini merged 1 commit intomainfrom
feat/single-mode-html-report
Mar 1, 2026
Merged

feat: add single-mode HTML report#70
timini merged 1 commit intomainfrom
feat/single-mode-html-report

Conversation

@timini
Copy link
Owner

@timini timini commented Mar 1, 2026

Summary

  • Add self-contained HTML report (single_report.html) for single-mode pipeline, matching auto-mode's professional styling
  • New single_report.py reads existing PNGs from disk and base64-encodes them — no matplotlib re-rendering needed
  • Conditional directivity section shown only when directivity PNGs are available
  • Two Nextflow process variants (generate_single_report / generate_single_report_with_directivity) wired into the existing if (params.directivity) branch

Test plan

  • Report generates successfully with directivity (all 9 images embedded)
  • Report generates successfully without directivity (5 images)
  • All sections present: KPI cards, geometry summary, frequency response, dashboard, impedance & phase, directivity
  • Run full single-mode Nextflow pipeline and verify single_report.html in output
  • Visual review of report layout in browser

🤖 Generated with Claude Code

The single-mode pipeline previously produced only loose PNG files and
kpis.json. This adds an integrated HTML report (single_report.html)
that mirrors the auto-mode's professional styling with base64-embedded
plots, KPI cards, geometry summary, and conditional directivity section.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@timini timini merged commit 16e0c38 into main Mar 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant