Skip to content

Added tsv export, publication parsing and - #38

Merged
jonas-fuchs merged 13 commits into
masterfrom
dev
Sep 2, 2026
Merged

jonas-fuchs merged 13 commits into
masterfrom
dev

Conversation

@jonas-fuchs

Copy link
Copy Markdown
Collaborator

New features:

  • TSV export format. A new TSV output is available alongside the existing
    JSON and HTML exports. The report row-rendering logic was extracted from
    respro/report/html.py into a new shared respro/report/_row_helpers.py
    module so HTML and TSV render from the same row model, and
    respro/report/non_html_exports.py gained the TSV writer. The CLI exposes the
    new format via --export tsv on the profiling and regenerate commands.
  • Publication author, journal, and year. The publication data model
    (respro/db/models.py, respro/db/schema.py, respro/db/_rules_publication.py,
    respro/io/publications.py) now stores author, journal, and year per
    publication, and these fields surface in the HTML report and non-HTML exports.
  • Reference nucleotide changes in the HTML report. The report template and
    respro/report/html.py now render the reference nucleotide context for
    reported changes, with respro/core/vcf_remap.py providing the reference-base
    lookup.
  • Reworked visuals. Explicitly changed the WebApp so that its repsonsive with common mobile devices

Bug fixes:

  • Ruleless feature reporting. respro/core/annotation.py no longer drops or
    mis-reports features that have no matching rules; such features now appear
    correctly in the report. Covered by new tests in tests/test_annotation.py
    and tests/test_report_outputs.py.

Improvements:

  • Mobile-responsive HTML report. respro/report/static/report.css and
    report.js were overhauled so the standalone HTML report adapts to phone and
    tablet screens, matching the web app's responsive behaviour.

Breaking changes:

  • None. Existing project databases remain compatible; the new publication
    columns are additive.

@codecov

codecov Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.37838% with 43 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
respro/report/_row_helpers.py 75.23% 16 Missing and 10 partials ⚠️
respro/io/publications.py 77.08% 5 Missing and 6 partials ⚠️
respro/report/non_html_exports.py 95.79% 2 Missing and 3 partials ⚠️
respro/cli/regenerate.py 0.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@jonas-fuchs
jonas-fuchs merged commit 824f1fb into master Sep 2, 2026
13 checks passed
@jonas-fuchs
jonas-fuchs deleted the dev branch September 2, 2026 15:43
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