Atomate2Settings¶
- pydantic settings atomate2.settings.Atomate2Settings[source]¶
Settings for atomate2.
The default way to modify these is to modify ~/.atomate2.yaml. Alternatively, the environment variable ATOMATE2_CONFIG_FILE can be set to point to a yaml file with atomate2 settings.
Lastly, the variables can be modified directly through environment variables by using the “ATOMATE2” prefix. E.g. ATOMATE2_SCRATCH_DIR = path/to/scratch.
- Validators:
load_default_settings
»all fields
- field BANDGAP_TOL: float = 0.0001¶
Tolerance for determining if a material is a semiconductor or metal
- field VASP_VOLUME_CHANGE_WARNING_TOL: float = 0.2¶
Maximum volume change allowed in VASP relaxations before the calculation is tagged with a warning
- field VASP_HANDLE_UNSUCCESSFUL: bool | Literal['error'] = 'error'¶
Three-way toggle on what to do if the job looks OK but is actually unconverged (either electronic or ionic). - True: mark job as COMPLETED, but stop children. - False: do nothing, continue with workflow as normal. ‘error’: throw an error
- field VASP_CUSTODIAN_MAX_ERRORS: int = 5¶
Maximum number of errors to correct before custodian gives up
- field VASP_STORE_VOLUMETRIC_DATA: tuple[str] | None = None¶
Store data from these files in database if present
- field VASP_STORE_ADDITIONAL_JSON: bool = True¶
Ingest any additional JSON data present into database when parsing VASP directories useful for storing duplicate of FW.json
- field VASP_RUN_BADER: bool = False¶
Whether to run the Bader program when parsing VASP calculations.Requires the bader executable to be on the path.
- field VASP_RUN_DDEC6: bool = False¶
Whether to run the DDEC6 program when parsing VASP calculations.Requires the chargemol executable to be on the path.
- field DDEC6_ATOMIC_DENSITIES_DIR: str | None = None¶
Directory where the atomic densities are stored.
- field VASP_ZIP_FILES: bool | Literal['atomate'] = 'atomate'¶
Determine if the files in folder are being compressed. If True all the files are compressed. If ‘atomate’ only a selection of files related to the simulation will be compressed. If False no file is compressed.
- field VASP_INHERIT_INCAR: bool = False¶
Whether to inherit INCAR settings from previous calculation. This might be useful to port Custodian fixes to child jobs but can also be dangerous e.g. when switching from GGA to meta-GGA or relax to static jobs.Can be overridden on a per-job basis via the inherit_incar keyword of VaspInputGenerator.
- field LOBSTER_CUSTODIAN_MAX_ERRORS: int = 5¶
Maximum number of errors to correct before custodian gives up
- field LOBSTER_ZIP_FILES: bool | Literal['atomate'] = 'atomate'¶
Determine if the files in folder are being compressed. If True all the files are compressed. If ‘atomate’ only a selection of files related to the simulation will be compressed. If False no file is compressed.
- field CP2K_RUN_BADER: bool = False¶
Whether to run the Bader program when parsing CP2K calculations.Requires the bader executable to be on the path.
- field CP2K_RELAX_MAX_FORCE: float = 0.25¶
Maximum force allowed on each atom for successful structure optimization
- field CP2K_VOLUME_CHANGE_WARNING_TOL: float = 0.2¶
Maximum volume change allowed in CP2K relaxations before the calculation is tagged with a warning
- field CP2K_HANDLE_UNSUCCESSFUL: str | bool = 'error'¶
Three-way toggle on what to do if the job looks OK but is actually unconverged (either electronic or ionic). - True: mark job as COMPLETED, but stop children. - False: do nothing, continue with workflow as normal. ‘error’: throw an error
- field CP2K_CUSTODIAN_MAX_ERRORS: int = 5¶
Maximum number of errors to correct before custodian gives up
- field CP2K_STORE_VOLUMETRIC_DATA: tuple[str] | None = None¶
Store data from these files in database if present
- field CP2K_STORE_ADDITIONAL_JSON: bool = True¶
Ingest any additional JSON data present into database when parsing CP2K directories useful for storing duplicate of FW.json
- field CP2K_ZIP_FILES: bool | Literal['atomate'] = True¶
Determine if the files in folder are being compressed. If True all the files are compressed. If ‘atomate’ only a selection of files related to the simulation will be compressed. If False no file is compressed.
- field AMSET_SETTINGS_UPDATE: dict | None = None¶
Additional settings applied to AMSET settings file.
- field QCHEM_CUSTODIAN_MAX_ERRORS: int = 5¶
Maximum number of errors to correct before custodian gives up