-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tests: Automate calculation test reference generation and checking The reference file for the single `GaussianCalculation` test was generated manually and read manually to compare to the one created by running the calcjob plugin. This is replaced by using the fixture `file_regression` which not only automates this, if the reference file needs to change due to a change in the code, it can be automatically generated by running the tests with the `--force-regen` flag. * `GaussianCalculation`: Do no limit kwargs for `GaussianInput` The `GaussianCalculation` is rendering the input file from the `parameters` input dictionary through the `GaussianInput` utility from `pymatgen`. However, it was hard-coding which keywords could be specified through the parameters. For example, the `gen_basis` keyword of `GaussianInput` was ignored. Here we simply expand the entire parameters dictionary as it is provided through the inputs, after setting some relevant defaults.
- Loading branch information
Showing
4 changed files
with
21 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.