salvus.project.tools.task_chains.prebuilt_workflows.task_generators.generate_cleanup_task
Functions
generate_cleanup_task()
generate_cleanup_task()def generate_cleanup_task(
event_name: str,
results_folder_name: str,
keep_synthetics: bool,
compute_misfit: bool,
compute_gradients: bool,
) -> Callable: ...Generate the cleanup task.
Parameters
event_namestr — Name of the event.results_folder_namestr — Parent results folder name to know where to move things to.keep_syntheticsbool — If True, synthetic data will be copied to the output folder, otherwise not.compute_misfitbool — True if a misfit has been computed.compute_gradientsbool — True if gradients have been computed.
Returns Callable