format_coverage_report#
- lsst.images.tests.format_coverage_report(report, *, schema=None)#
Render a coverage report as text.
- Parameters:
report (
CoverageReport) – The report to render.schema (
str|None, default:None) – Restrict the output to this schema name, orNonefor all of them.
- Returns:
The rendered report, one block per schema.
- Return type:
Notes
Absent paths are collapsed to the root of each absent subtree, and every sub-schema position is listed whether or not it has a gap: a position that reaches all its candidates is as much of an answer to “what does this fixture set cover?” as one that does not. A gap is marked
gaprather than reported as an error, because a composite model is under no obligation to hold every candidate its schema admits.