Module rok4_tools.pyr2pyr_utils.finisher

Functions

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

Finisher steps : finalize the pyramid's transfer

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
PYR2PYR configuration

Raises

Exception
Cannot load the input or the output pyramid
Exception
Cannot write output pyramid's descriptor
Exception
Cannot concatenate todo lists to write the output pyramid's list