atomate2.common.files.gzip_output_folder(directory, setting, files_list)[source]

Zip the content of the output folder based on the specific code setting.

  • directory (str or Path or None) – Directory in which to gzip files.

  • setting (bool or str) – the setting determining which files to zip. If True all the files in the directory will be zipped, if “atomate” only the files in files_list, if False no file will be zipped.

  • files_list (list of str) – list of files to be zipped in case setting is “atomate”

Return type: