viperleed.calc.sections.cleanup

Cleanup functions, to be used between sections or before/after execution.

Functions

cleanup(manifest[, rp])

Moves files to SUPP and OUT folders, writes manifest, adds a final message to the log, then shuts down everything.

move_oldruns(rp[, prerun])

Copy relevant files to a new 'workhistory' subfolder.

organize_workdir(tensor_index[, ...])

Reorganize files in workdir into SUPP, OUT, Tensors and Deltas.

prerun_clean(rp[, logname])

Clean up the work directory before viperleed.calc starts.