Report redesign + --always-top-n/--class search options + MkDocs docs site#12
Merged
Conversation
Report:
- carousel per cluster solution with dropdown (All by default) and X-of-N nav
- paginated, searchable Top-N results table; left TOC with scroll-spy
- per-section/plot info popovers; PCC colourbar; network group legend
- canonical allele names matching the reference logo titles; favicon
- citation + repository links; graceful missing-logo placeholders
Search:
- --always-top-n: return each cluster's top-N regardless of threshold
(below-threshold hits are flagged in the report); opt-in, off by default
- --class {I,II,all}: restrict the reference by MHC class
- document the Pearson-correlation method and formula in engine docstrings
Tests updated for canonical display names and the new search behaviours.
- mkdocs.yml: Material theme + mkdocstrings (API auto-generated from docstrings) - home / usage / API-reference pages; standalone report linked as example-report.html - 'docs' optional-dependency group; GitHub Pages deploy workflow (Actions) - replace the root report demo (docs/index.html) with the docs site
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Report (standalone HTML):
Search:
--always-top-n: return each cluster's top-N regardless of threshold (sub-threshold hits flagged "below cutoff"); opt-in, off by default--class {I,II,all}: restrict the reference by MHC classDocs:
Tests: 226 passing.
Manual step after merge
Set repo Settings -> Pages -> Source to "GitHub Actions" so the docs workflow deploys the new site.