Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move FHI-aims io from atomate2 into pymatgen 1) parsers and AimsOuput ojbects moved over 2) All ASE Atoms objects removed in favor of pymatgen structures 3) TO DO: Check name schemes 4) Create an AimsInputs object in the future * Initial aims input files 1) remove aims_outputs naming convention 2) Add AimsGeometryIn and AimsControlIn classes * Add test for the aims parsers Adjusted from ASE parser tests * Add tests for AimsOutputs 1) How to handle stress in properties? * Add aims output refrence files For aims outputs checks * Add tests for AimsGeometryIn inputs Test for both Si and H2O * Add tests for AimsCube Make sure that the AimsCubes are properly formatted * Add tests for aims_control_in Add test for aims control.in file generators * gzip all output files as requested all output files are gzipped * Gzip all refrence files 1) Species blocks can now read from gzipped file 2) geometry.in can now read a gzip file * Remove json dict comparision Error in the Actions from rounding errors, do more explicit test for as_dict * Add full type hinting for inputs.py and convert docstrings 1) Docstrings are googledoc format 2) All type hinting is done * Convert all AimsOutput docstrings to google doc Everything is also type hintted now * Add type hining and google doc strings to parsers * Fix tests Forgot pip install in the last commit * Requested changes to tests 1) Moved lines objects to seperate files 2) inline k_point_weights 3) Remove trailing comma 4) tmpdir -> tmp_path * Update pymatgen/io/aims/inputs.py use numpy eye instead of a full list Co-authored-by: Janosh Riebesell <[email protected]> Signed-off-by: Thomas Purcell <[email protected]> * pre-commit auto-fixes * Make more changes requested * Rename io.aims.output to io.aims.outputs Keep it consistent with inputs naming scheme * Add example for FHI-aims io * Make corrections suggested by @janosh 1) Remove copy of species file in examples 2) Typo corrections in docstrings 3) d -> dct for `from_dict` methods 4) error mesages for AimsCube 5) Shortened default checks in Inputs 6) Removal of chdir in tests * add nbstripout to pre-commit hooks apply to FHI-aims-example.ipynb * class AimsCube snake_case spin_state * fix doc str * refactor AimsCube.from_dict * fix typo * fix tests * mv tests/io/aims/(aims_->'')input_files tests/io/aims/(aims_->'')output_files tests/io/aims/(aims_->'')parser_checks * Correct refrence json files for aims_outputs aims.output -> aims.outputs module name --------- Signed-off-by: Thomas Purcell <[email protected]> Co-authored-by: Janosh Riebesell <[email protected]>
- Loading branch information