from_patch

method of dascore.core.summary.PatchSummary source

from_patch(
    patch: Patch ,
)-> ‘PatchSummary’

Create a summary from a loaded patch.

The lineage ids are carried, not dropped: the index stores them, so a summary which left them behind would be the one thing which made scanning a patch and reading it disagree about which data it is.