Atomate2

Latest version: v0.0.14

Safety actively analyzes 624395 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.0.14

New Features ๐ŸŽ‰
* Add lobster mp workflow by JaGeo in https://github.com/materialsproject/atomate2/pull/634
* Add FHI-aims DFT calculator by tpurcell90 in https://github.com/materialsproject/atomate2/pull/562
* Electrode Workflow by jmmshn in https://github.com/materialsproject/atomate2/pull/655
* Equation of state (EOS) workflows by esoteric-ephemera in https://github.com/materialsproject/atomate2/pull/623
Bug Fixes ๐Ÿ›
* Skip final LDAU/J/L/MAGMOM updates and fix setting MAGMOM via `user_incar_settings` by JonathanSchmidt1 in https://github.com/materialsproject/atomate2/pull/648
* Prep for next `pymatgen` release by janosh in https://github.com/materialsproject/atomate2/pull/690
* [bug fix] SC Matrix Checking Logic by jmmshn in https://github.com/materialsproject/atomate2/pull/704
* Fix elastic conventional structure by mjwen in https://github.com/materialsproject/atomate2/pull/706
* Add `KspacingMetalHandler` to VASP `_DEFAULT_HANDLERS` by janosh in https://github.com/materialsproject/atomate2/pull/600
* Fix import error [ijson] by naik-aakash in https://github.com/materialsproject/atomate2/pull/708
* Print invalid value and list valid ones in `PhononMaker` error messages by janosh in https://github.com/materialsproject/atomate2/pull/728
* Update minimum `monty` version, allow newer `pydantic` by mkhorton in https://github.com/materialsproject/atomate2/pull/720
* Fix phonon + Lobster flow by removing magmoms before passing to `phonopy` by naik-aakash in https://github.com/materialsproject/atomate2/pull/751
* Fix MP query by utf in https://github.com/materialsproject/atomate2/pull/755
Enhancements ๐Ÿ› 
* add directory of task doc generation to phonon schema by JaGeo in https://github.com/materialsproject/atomate2/pull/674
* Ensure MP VASP sets don't use auto_ismear, few other fixes by esoteric-ephemera in https://github.com/materialsproject/atomate2/pull/673
* Schema update > Update plot example LOBSTER workflow by naik-aakash in https://github.com/materialsproject/atomate2/pull/682
* Modify `BadInputSetWarning` logic for relaxations of a likely metal by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/727
* Define `MLFF` `Enum` to ensure consistent force field names by janosh in https://github.com/materialsproject/atomate2/pull/729
Documentation ๐Ÿ“–
* Update doc: adding metadata to flow by naik-aakash in https://github.com/materialsproject/atomate2/pull/638
* Fix hyperlink in Docs by naik-aakash in https://github.com/materialsproject/atomate2/pull/686
* Correct typo in doc by JiQi535 in https://github.com/materialsproject/atomate2/pull/716
* Fix docstring on `MatPesMetaGGAStaticSetGenerator` by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/725
* Add `citation.cff` file, Zenodo record and readme "How to cite" section by janosh in https://github.com/materialsproject/atomate2/pull/731
House-Keeping ๐Ÿงน
* Address TODO re missing asserts in `test_elastic_wf_with_mace()` by janosh in https://github.com/materialsproject/atomate2/pull/679
* Update lobsterpy version by naik-aakash in https://github.com/materialsproject/atomate2/pull/683
* Fix all ruff PT011 (not checking error message when testing exceptions) by janosh in https://github.com/materialsproject/atomate2/pull/698

New Contributors
* JonathanSchmidt1 made their first contribution in https://github.com/materialsproject/atomate2/pull/648
* rdguha1995 made their first contribution in https://github.com/materialsproject/atomate2/pull/161
* JiQi535 made their first contribution in https://github.com/materialsproject/atomate2/pull/716

**Full Changelog**: https://github.com/materialsproject/atomate2/compare/v0.0.13...v0.0.14

0.0.13

BREAKING CHANGE

The API of `Maker.maker` for all workflows (VASP, CP2K, force fields) have been modified. Previously, this function had custom arguments for previous calculation directories (e.g., `prev_vasp_dir`, `prev_cp2k_dir`). These arguments have been standardised to `prev_dir`. Accordingly, the approach used to chain workflows has now changed.

New Features ๐ŸŽ‰

* Add setting `VASP_RUN_DDEC6: bool = False` by janosh in https://github.com/materialsproject/atomate2/pull/587

Bug Fixes ๐Ÿ›

* Resolve bandstructure datastore bug by JaGeo in https://github.com/materialsproject/atomate2/pull/605
* Fix `TypeError`: `PhononBSPlotter.save_plot()` got an unexpected keyword argument `img_format` by janosh in https://github.com/materialsproject/atomate2/pull/625
* `ForceFieldRelaxMaker` default `relax_cell` to `True` by janosh in https://github.com/materialsproject/atomate2/pull/635
* Replace ase `ExpCellFilter` with `FrechetCellFilter` in `Relaxer` by janosh in https://github.com/materialsproject/atomate2/pull/636
* update lobsterpy version and schemas to match new version changes by naik-aakash in https://github.com/materialsproject/atomate2/pull/637
* Default `create_thermal_displacements` to `False` in VASP and forcefield `PhononMaker` by janosh in https://github.com/materialsproject/atomate2/pull/647
* Fix import of ASE filters when user has installed from PyPI and not gitlab by esoteric-ephemera in https://github.com/materialsproject/atomate2/pull/650
* Mark schema fields with `None` default as `Optional` to pass pydantic v2 validation by danielzuegner in https://github.com/materialsproject/atomate2/pull/651

Enhancements ๐Ÿ› 

* Breaking: Unify previous directory `Maker` API by janosh in https://github.com/materialsproject/atomate2/pull/593
* Add keyword `incar_exclude: Sequence[str] = None` to `fake_run_vasp()` by janosh in https://github.com/materialsproject/atomate2/pull/599
* Allow `prv_dir` to be used more in defect wf by jmmshn in https://github.com/materialsproject/atomate2/pull/585
* Add MACE RelaxMaker and StaticMaker by CompRhys in https://github.com/materialsproject/atomate2/pull/611
* Update lobster task schema by naik-aakash in https://github.com/materialsproject/atomate2/pull/529
* Allow optimizer to be configured for MACE/GAP by CompRhys in https://github.com/materialsproject/atomate2/pull/615
* MACE Static/RelaxMakers default to loading `mace_mp` instead of test model by janosh in https://github.com/materialsproject/atomate2/pull/614
* Add optional 3rd static for PBE+U to `MatPesStaticFlowMaker` by janosh in https://github.com/materialsproject/atomate2/pull/606
* Use PyPI version of MACE by utf in https://github.com/materialsproject/atomate2/pull/668
* Multi step MD flow by gpetretto in https://github.com/materialsproject/atomate2/pull/489

Documentation ๐Ÿ“–

* Add CompRhys to `contributors.md` by CompRhys in https://github.com/materialsproject/atomate2/pull/612

House-Keeping ๐Ÿงน

* Update GitHub Action versions by janosh in https://github.com/materialsproject/atomate2/pull/640
* Drop `flake8` by janosh in https://github.com/materialsproject/atomate2/pull/658
* Enable all `ruff` rules by default by janosh in https://github.com/materialsproject/atomate2/pull/663

New Contributors

* CompRhys made their first contribution in https://github.com/materialsproject/atomate2/pull/612
* danielzuegner made their first contribution in https://github.com/materialsproject/atomate2/pull/651

**Full Changelog**: https://github.com/materialsproject/atomate2/compare/v0.0.12...v0.0.13

0.0.12

* Breaking: default `Atomate2Settings.VASP_INHERIT_INCAR` to `False` by janosh in https://github.com/materialsproject/atomate2/pull/594

Bug Fixes ๐Ÿ›

* Enforce magmom precedence in INCAR creation by mattmcdermott in https://github.com/materialsproject/atomate2/pull/506
* Warn on empty config by janosh in https://github.com/materialsproject/atomate2/pull/522
* CP2K use `calcs_reversed[0]` instead of `calcs_reversed[-1]` to not reverse again by janosh in https://github.com/materialsproject/atomate2/pull/534
* Fix wrong INCAR values in MP workflows by janosh in https://github.com/materialsproject/atomate2/pull/550
* Fix failing tests from Pydantic v2 migration by hrushikesh-s in https://github.com/materialsproject/atomate2/pull/558
* fixing pydantic v2 test errors by hrushikesh-s in https://github.com/materialsproject/atomate2/pull/565
* `parse_additional_json()` ignore `FW.json.gz` in output directories by janosh in https://github.com/materialsproject/atomate2/pull/574
* Fix `bandgap_tol` and delete `bandgap_override` on `MPMetaGGARelaxSetGenerator` by janosh in https://github.com/materialsproject/atomate2/pull/553
* Fix `VaspInputGenerator`'s `_set_kspacing` not respecting `auto_ismear = False` nor `auto_kspacing = False` by janosh in https://github.com/materialsproject/atomate2/pull/576
* Clean up VASP powerups, correct params in MP flows, test for `_set_u_params`, test for `_set_kspacing`, fix `_get_incar` method of `VaspInputSet` by esoteric-ephemera in https://github.com/materialsproject/atomate2/pull/561
* Fix Lobster workflow by JaGeo in https://github.com/materialsproject/atomate2/pull/583
* Change `MatPesGGAPlusMetaGGAStaticMaker.output` to dict containing both statics by janosh in https://github.com/materialsproject/atomate2/pull/586
* Test MP + MatPES set generators by janosh in https://github.com/materialsproject/atomate2/pull/596

Enhancements ๐Ÿ› 

* Add StructureMetadata as baseclass for output documents by gpetretto in https://github.com/materialsproject/atomate2/pull/514
* Materials Project GGA and meta-GGA workflows by janosh in https://github.com/materialsproject/atomate2/pull/504
* MP-compatible r2SCAN workflow (and a few general INCAR improvements) by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/362
* Update to Pydantic v2 by hrushikesh-s in https://github.com/materialsproject/atomate2/pull/567
* Add MatPES GGA and r2SCAN static makers by janosh in https://github.com/materialsproject/atomate2/pull/532
* Move elastic workflow to common and build force-field elastic workflow by JaGeo in https://github.com/materialsproject/atomate2/pull/581

Documentation ๐Ÿ“–

* Update arosen93 to Andrew-S-Rosen by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/516
* Add Aaron Kaplan and Matthew McDermott to `contributors.md` by janosh in https://github.com/materialsproject/atomate2/pull/560
* Document architectural difference between atomate 1 and 2 by janosh in https://github.com/materialsproject/atomate2/pull/381
* Add Thomas Purcell to `contributors.md` by tpurcell90 in https://github.com/materialsproject/atomate2/pull/568
* Add Alex Bonkowski to contributors list by JaGeo in https://github.com/materialsproject/atomate2/pull/573
* Add matthewkuner to contributors by matthewkuner in https://github.com/materialsproject/atomate2/pull/575
* Update contributors.md by utf in https://github.com/materialsproject/atomate2/pull/579

House-Keeping ๐Ÿงน

* Remove `__all__` from all modules by janosh in https://github.com/materialsproject/atomate2/pull/540
* removed py38 support, and add py 3.11 support by naik-aakash in https://github.com/materialsproject/atomate2/pull/537
* Check full INCAR by default in `mock_vasp` fixture by janosh in https://github.com/materialsproject/atomate2/pull/551
* skip validate charge test by jmmshn in https://github.com/materialsproject/atomate2/pull/563
* Add some type annotations by ab5424 in https://github.com/materialsproject/atomate2/pull/578
* Future type annotations by janosh in https://github.com/materialsproject/atomate2/pull/580
* Use `numpy.testing.assert_allclose` over assert `np.(all|is)close` by janosh in https://github.com/materialsproject/atomate2/pull/582

New Contributors

* mattmcdermott made their first contribution in https://github.com/materialsproject/atomate2/pull/506
* tpurcell90 made their first contribution in https://github.com/materialsproject/atomate2/pull/568
* esoteric-ephemera made their first contribution in https://github.com/materialsproject/atomate2/pull/561
* ab5424 made their first contribution in https://github.com/materialsproject/atomate2/pull/578

**Full Changelog**: https://github.com/materialsproject/atomate2/compare/v0.0.11...v0.0.12

0.0.11

Task Document Changes

Merge atomate2 VASP task document with the one in emmet. The changes to the atomate2
schemas are:

* `PsuedoPotentialSummary` -> `Potcar`
* `labels` -> `symbols`
* `AnalysisSymmary` -> `AnalysisDoc`
* `delta_volume_as_percent` -> `delta_volume_percent`
* `InputSummary` -> `InputDoc`
* `OutputSummary` -> `OutputDoc`
* `density` added
* `Status` -> `TaskState`
* `TaskDocument` -> `TaskDoc`
* `task_type added`
* `Status` -> `TaskState`

VASP input set updates

The VASP input sets have been reconfigured based on user feedback.
The `auto_kspacing` option has been removed and KSPACING is no longer used in the
atomate2 input sets by default. We have returned to using `reciprocal_density` as in
atomate1. These changes mean the k-point mesh is no longer dependent on the precise
band gap of the system. Instead, there are now two k-points settings, one for insulators
and one for metals. This should remove issues when changing the functional from
PBEsol -> HSE, in which the band gap increases but the k-point mesh would be expected
to stay the same.

Two new options have been added to the `BaseVaspInputSetGenerator`:

* `auto_metal_kpoints`: If true and the system is metallic, try and use `
reciprocal_density_metal` instead of `reciprocal_density` for metallic systems.
* `auto_ismear`: If true, the values for ISMEAR and SIGMA will be set automatically
depending on the bandgap of the system. If the bandgap is not known (e.g., there is no
previous VASP directory) then ISMEAR=0 and SIGMA=0.2; if the bandgap is zero (a
metallic system) then ISMEAR=2 and SIGMA=0.2; if the system is an insulator, then
ISMEAR=-5 (tetrahedron smearing).

New Features ๐ŸŽ‰

* CP2K Support by nwinner in https://github.com/materialsproject/atomate2/pull/157
* Add forcefield schemas/makers to atomate2 by matthewkuner in https://github.com/materialsproject/atomate2/pull/322
* Add `m3gnet` support to Atomate2 by matthewkuner in https://github.com/materialsproject/atomate2/pull/380
* Phonons for forcefields by JaGeo in https://github.com/materialsproject/atomate2/pull/398

Bug Fixes ๐Ÿ›

* Fix Lobster Schema by JaGeo in https://github.com/materialsproject/atomate2/pull/266
* fix lso dos of lobster being not saved in schema by naik-aakash in https://github.com/materialsproject/atomate2/pull/279
* fix `_get_strong_bonds` function by naik-aakash in https://github.com/materialsproject/atomate2/pull/289
* [Bug Fix] For stringing defect calculations together by jmmshn in https://github.com/materialsproject/atomate2/pull/292
* BUGFIX `auto_lreal` by jmmshn in https://github.com/materialsproject/atomate2/pull/297
* Fix `Yb` PSP: change `Yb_2` to `Yb_3` by janosh in https://github.com/materialsproject/atomate2/pull/319
* Fix typo by janosh in https://github.com/materialsproject/atomate2/pull/321
* Fix overriding `magmoms` in `update_user_incar_settings(` by janosh in https://github.com/materialsproject/atomate2/pull/375
* Fix encoding of input `Molecule` coordinates in cclib `TaskDocument` by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/411
* [FIX] fix elastic tensor flow by mjwen in https://github.com/materialsproject/atomate2/pull/415
* [BUG FIX] Edge case for Magmoms by jmmshn in https://github.com/materialsproject/atomate2/pull/460
* [FIX] Fix major bug that caused `user_incar_settings` to be overwritten in some cases by matthewkuner in https://github.com/materialsproject/atomate2/pull/412
* Test for `zip_outputs` by gpetretto in https://github.com/materialsproject/atomate2/pull/503

Enhancements ๐Ÿ› 

* Extension of Lobster schema and additional tests by JaGeo in https://github.com/materialsproject/atomate2/pull/272
* Use emmet VASP task document by utf in https://github.com/materialsproject/atomate2/pull/269
* VASP inputset updates by utf in https://github.com/materialsproject/atomate2/pull/270
* Linting by utf in https://github.com/materialsproject/atomate2/pull/274
* Improve Lobster workflow preconverge step, kpoints, docs by JaGeo in https://github.com/materialsproject/atomate2/pull/277
* add `has_doscar_lso` field to Lobsterout schema model and update lobsterpy version by naik-aakash in https://github.com/materialsproject/atomate2/pull/286
* added simple chg check by jmmshn in https://github.com/materialsproject/atomate2/pull/320
* Switch to emmet's `MoleculeMetadata` by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/301
* Update update-precommit.yml by utf in https://github.com/materialsproject/atomate2/pull/330
* Update dependencies by utf in https://github.com/materialsproject/atomate2/pull/329
* Add missing molecule field to cclib TaskDocument by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/353
* allow elastically unstable structures by matthewkuner in https://github.com/materialsproject/atomate2/pull/355
* update lobstertask schema: add bandoverlaps,grosspop and sitepotentials fields by naik-aakash in https://github.com/materialsproject/atomate2/pull/404
* Update CondensedBondingAnalysis schema by naik-aakash in https://github.com/materialsproject/atomate2/pull/469
* Phonon tweaks by utf in https://github.com/materialsproject/atomate2/pull/276
* Update to Defects WF by jmmshn in https://github.com/materialsproject/atomate2/pull/430
* Small change to `gunzip` to allow better restarting by jmmshn in https://github.com/materialsproject/atomate2/pull/476
* Remove VASP calc types schema by mjwen in https://github.com/materialsproject/atomate2/pull/407
* Optionally zip files at the end of jobs by gpetretto in https://github.com/materialsproject/atomate2/pull/414

Documentation ๐Ÿ“–

* Add more documentation for Lobster by JaGeo in https://github.com/materialsproject/atomate2/pull/267
* Use furo for docs theme by utf in https://github.com/materialsproject/atomate2/pull/331
* Update Lobster documentation by JaGeo in https://github.com/materialsproject/atomate2/pull/376
* Fix docs typos by janosh in https://github.com/materialsproject/atomate2/pull/373
* Update FireWorks section of docs by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/378
* Add a copy button to code blocks by Andrew-S-Rosen in https://github.com/materialsproject/atomate2/pull/382
* clean up doc, remove left-overs from amset example by JaGeo in https://github.com/materialsproject/atomate2/pull/394
* More details for lobster documentation by JaGeo in https://github.com/materialsproject/atomate2/pull/431
* Deploy docs on every commit to `main` by janosh in https://github.com/materialsproject/atomate2/pull/422
* Add clearer documentation on lobster worker by JaGeo in https://github.com/materialsproject/atomate2/pull/440
* Docs: add basic workflow tutorial by rkingsbury in https://github.com/materialsproject/atomate2/pull/408
* Use GitHub's `deploy-pages` action to deploy docs by janosh in https://github.com/materialsproject/atomate2/pull/475

House-Keeping ๐Ÿงน

* More `ruff` by janosh in https://github.com/materialsproject/atomate2/pull/344
* Move all type-hint only imports behind `if TYPE_CHECKING` by janosh in https://github.com/materialsproject/atomate2/pull/354
* `ruff` select `perflint` `flake8-slots` by janosh in https://github.com/materialsproject/atomate2/pull/395
* Bump `ruff` and fix `PERF401`: Use a list comprehension to create transformed list by janosh in https://github.com/materialsproject/atomate2/pull/421
* Simplify: `dict.get(key, None)` -> `dict.get(key)` by janosh in https://github.com/materialsproject/atomate2/pull/429
* `dict.setdefault` instead of `if key not in dict: dict[key] = ...` by janosh in https://github.com/materialsproject/atomate2/pull/452

New Contributors

* naik-aakash made their first contribution in https://github.com/materialsproject/atomate2/pull/279
* matthewkuner made their first contribution in https://github.com/materialsproject/atomate2/pull/322
* gpetretto made their first contribution in https://github.com/materialsproject/atomate2/pull/414

**Full Changelog**: https://github.com/materialsproject/atomate2/compare/v0.0.10...v0.0.11)

0.0.10

Lobster workflow with VASP implementation ([JaGeo][jageo], [naik-aakash][naik-aakash] [200](https://github.com/materialsproject/atomate2/pull/200))

0.0.9

New features:

* Defect formation energy workflow with VASP implementation ([jmmshn][jmmshn], [215](https://github.com/materialsproject/atomate2/pull/215))
* Job to retrieve a structure from the MP API at run-time ([mkhorton][mkhorton], [176](https://github.com/materialsproject/atomate2/pull/176]))

Enhancements:

* Documentation of phonon workflow ([QuantumChemist][quantumchemist], [232](https://github.com/materialsproject/atomate2/pull/232))
* Refactor defect code ([jmmshn][jmmshn], [214](https://github.com/materialsproject/atomate2/pull/214))
* Use `ruff` for linting ([janosh][janosh], [250](https://github.com/materialsproject/atomate2/pull/250))

Bug fixes:

* Use correct k-point density in phonon workflow ([JaGeo][jageo], [177](https://github.com/materialsproject/atomate2/pull/177))
* Fix use of `expanduser` path ([nwinner][nwinner], [180](https://github.com/materialsproject/atomate2/pull/180))
* Correct `calcs_reversed` to be in the proper order ([Zhuoying][zhuoying], [182](https://github.com/materialsproject/atomate2/pull/182))
* Bugfix for `store_volumetric_data` ([jmmshn][jmmshn], [212](https://github.com/materialsproject/atomate2/pull/212))

Page 1 of 3

ยฉ 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.