Skip to content

Add QC summary to HTML report - #1476

Open
tsalo wants to merge 7 commits into
ME-ICA:mainfrom
tsalo:report-qc-summary
Open

Add QC summary to HTML report#1476
tsalo wants to merge 7 commits into
ME-ICA:mainfrom
tsalo:report-qc-summary

Conversation

@tsalo

@tsalo tsalo commented Jul 19, 2026

Copy link
Copy Markdown
Member

Closes #1472.

Changes proposed in this pull request:

  • Add a new box to the Info tab in the HTML report, with quality metrics listed for quick review.
  • Create new desc-decay_metrics.json file containing the T2*/S0 estimation-related metrics for the Info tab.

tsalo and others added 6 commits July 19, 2026 10:57
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Restrict desc-decay_metrics.json writing to fitmode=='all' (the tedana
workflow path); make generate_decay_metrics raise ValueError on non-1D
input so t2smap --fitmode ts misuse fails loudly instead of silently
flattening voxel x time. Document the S0 zero-fill exclusion and align
the new tests with the module import convention.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Degrade missing n_voxels_fit_mask/n_voxels_base_mask to 'n/a' instead of
rendering the literal 'None', matching the card's graceful-missing-field
convention. Tidy the two new test imports.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tsalo tsalo added the reports issues related to boilerplate generation or visual reports label Jul 19, 2026
@tsalo

tsalo commented Jul 19, 2026

Copy link
Copy Markdown
Member Author

Here's what the relevant part of the info tab looks like:

Screenshot 2026-07-19 at 3 31 53 PM

@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.45455% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.51%. Comparing base (fd18a66) to head (6b641a8).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
tedana/decay.py 94.11% 1 Missing and 1 partial ⚠️
tedana/reporting/html_report.py 94.59% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1476      +/-   ##
==========================================
+ Coverage   90.43%   90.51%   +0.08%     
==========================================
  Files          31       31              
  Lines        5100     5186      +86     
  Branches      937      952      +15     
==========================================
+ Hits         4612     4694      +82     
- Misses        326      327       +1     
- Partials      162      165       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tsalo
tsalo marked this pull request as ready for review July 21, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reports issues related to boilerplate generation or visual reports

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add summary tab to HTML report

1 participant