- pydantic model atomate2.common.schemas.cclib.TaskDocument#
Definition of a cclib-generated task document.
This can be used as a general task document for molecular DFT codes. For the list of supported packages, see https://cclib.github.io
- field molecule: Molecule = None#
Final output molecule from the task
- field metadata: Dict = None#
Calculation metadata, including input parameters and runtime statistics
Optional tags for this task document
- classmethod from_logfile(dir_name, logfile_extensions, store_trajectory=False, additional_fields=None, analysis=None, proatom_dir=None)#
Create a TaskDocument from a log file.
For a full description of each field, see https://cclib.github.io/data.html.
logfile_extensions (str | List[str]) – Possible extensions of the log file (e.g. “.log”, “.out”, “.txt”, “.chk”). Note that only a partial match is needed. For instance, .log will match .log.gz and .log.1.gz. If multiple files with this extension are found, the one with the most recent change time will be used. For an exact match only, put in the full file name.
store_trajectory (bool) – Whether to store the molecule objects along the course of the relaxation trajectory.
analysis (str | List[str] | None) – The name(s) of any cclib post-processing analysis to run. Note that for bader, ddec6, and hirshfeld, a cube file (.cube, .cub) must be in dir_name. Supports: cpsa, mpa, lpa, bickelhaupt, density, mbo, bader, ddec6, hirshfeld.
proatom_dir (Path | str | None) – The path to the proatom directory if ddec6 or hirshfeld analysis are requested. See https://cclib.github.io/methods.html for details. If None, the PROATOM_DIR environment variable must point to the proatom directory.
A TaskDocument object summarizing the inputs/outputs of the log file.
- Return type: