cleanup_cp2k_outputs

atomate2.cp2k.files.cleanup_cp2k_outputs(directory, host=None, file_patterns=('*bak*',), file_client=None)[source]

Remove unnecessary files.

Parameters:
  • directory (Path | str) – Directory containing files

  • host (str | None) – File client host

  • file_patterns (Sequence[str]) – Glob patterns to find files for deletion. Default is to remove the “backup” wavefunctions.

  • file_client (FileClient | None) – A file client to use for performing file operations.

Return type:

None