Skip to content

Commit

Permalink
vasp enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
mkphuthi committed Jan 3, 2025
1 parent dbb9f6e commit fe3c1c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [develop] - 2024-11-13

### Added
- ASIMMODULE: vasp/vasp
- ASIMMODULE: benchmarking/distribution
- ASIMMODULE: data/collect_images asimmodule
- CALCULATOR: OMAT24 calculator
Expand Down
2 changes: 2 additions & 0 deletions asimtools/asimmodules/benchmarking/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def distribution(
) -> Dict:
unit_factors = {'meV': 1000, 'eV': 1, 'kcal/mol': 23.0621}
unit_factor = unit_factors[unit]
if remap_keys is None:
remap_keys = {}

unit_dict = {
'energy': f'{unit}/atom',
Expand Down
6 changes: 3 additions & 3 deletions asimtools/asimmodules/vasp/vasp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ def vasp(
vaspinput_args: Optional[Dict] = None,
command: str = 'vasp_std',
mpset: Optional[str] = None,
write_image_output: bool = False,
write_image_output: bool = True,
) -> Dict:
"""Run VASP with given input files and specified image
:param image: Initial image for VASP calculation. Image specification,
see :func:`asimtools.utils.get_atoms`
:type image: Dict
:param vaspinput_args: Dictionary of VASP input arguments.
:param vaspinput_args: Dictionary of pymatgen's VASPInput arguments.
See :class:`pymatgen.io.vasp.inputs.VaspInput`
:type vaspinput_args: Dict
:param command: Command with which to run VASP, defaults to 'vasp_std'
:type command: str, optional
:param mpset: Material Project VASP set to use, defaults to None
:param mpset: Materials Project VASP set to use, defaults to None
:type mpset: str, optional
:param write_image_output: Whether to write output image in standard
asimtools format to file, defaults to False
Expand Down

0 comments on commit fe3c1c9

Please sign in to comment.