coalesce_runs

function of dascore.utils.chunk_plan source

coalesce_runs(
    plan: ChunkPlan ,
    working: DataFrame ,
)-> ‘ChunkPlan’

Merge each output’s consecutive members cut from one patch’s runs.

A patch split into runs plans run by run (its rows share one _patch_id), so a hole can end an output; the runs which land in one output are read from their patch once, as one member spanning them.