Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add aims InputSets move them from atomate2 to pymatgen as @utf requested * Move input set and file tests from atomate2 to here Also adjust the tests for not having all fixtures * Initial setup to move all input generators to pymatgen * Add AimsInputGenerator to aims/sets/base Move default input set generator to pymatgen * Move Core input sets from atomate2 into pymatgen * Add bs sets from atomate2 * Correct sets import in core forgot an io * Move input generator tests into pymatgen * BS and GW tests work * All generator tests now work * Add input generator refs from atomate2 * See if this fixes the windows path str errror * This should fix the windows tests json encoder did not use base string for path * pre-commit auto-fixes * Fix ruff error pre-commit conflict resolved incorrectly * fix error in species_dir Somehow this was removed * fix typo * remove cwd context manager, use monty instead * Make requested changes to the test sets Monkeypatch cahnge env Actually test check_bands * Fix Bugs in modifications 1) InputSet remove_parameters error message became more verbose 2) Have to assert True not raise False * pre-commit auto-fixes * rename GWSetGenerator(user_parameters->user_params), simplify tests in tests/io/aims/test_sets/test_input_set.py * del deepcopy method * Test if `compare_files` in __init__.py works I think my previous error was in the conftest file and not __init__ * Add test_sets __init__.py * Create a helper module in tests for common aims test function removal 1) remove tests.__init__.py and similar files in io and io/aims this conflicts with a latex package that is a depdency that installs a "tests" directory into site-packages 2) creates a helpers and helpers/aims folder for what would be in tests/io/aims/__init__ 3) Modify conftest and pytest ini in pyproject.toml to fix this * Remove AimsInputFile This class is not really needed * Bug Fix: AimsControlIn Preamble write time The content of the preamble should be made upon writing file not generating content * Remove uncessary files * rm tests/helpers/__init__.py, add pymatgen/util/testing/aims.py instead after moving pymatgen/util/(testing.py -> testing/__init__.py) * Remove aims_sd_monkeypatch from tests Make it once in conf tests * refactor _set_aims_species_dir_env_var fixture * 1) Remove seperate static_restart tests comp_system 2) Add more diverse docstrings to the testing.aims files * Specify species_dir for windows tests --------- Signed-off-by: Thomas Purcell <tpurcell90@users.noreply.github.com> Co-authored-by: Thomas Purcell <purcellt@arizona.edu> Co-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information