Module rok4_tools.joincache_utils.finisher

Functions

def work(config: Dict[~KT, ~VT]) ‑> None

Finisher steps : finalize the pyramid's processing

Expects the configuration and all todo lists. Write the output pyramid's descriptor to the final location, write the output pyramid's list to the final location (from the todo lists) and remove the todo lists

Args

config : Dict
JOINCACHE configuration

Raises

Exception
Cannot load the input or output pyramid
Exception
Cannot write output pyramid's descriptor
Exception
Cannot concatenate splits' done lists and write the final output pyramid's list to the final location