Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PwParser
: Fix case when settings
are not provided
The `is_ionically_converged` check in the `PwParser` considers the `FIXED_COORDS` setting when making sure the structure is ionically converged, but did not consider the case when the `settings` are not provided as an input. This would cause the parsing to fail in this case. Here we use the typical approach to set the `settings` variable to an empty dictionary in case the `settings` input is not provided. The tests are also updated to not set the `settings` input by default in the `generate_inputs` fixture for the `pw.x` parser tests. Co-authored-by: Aliaksandr Yakutovich <yakutovicha@gmail.com> Co-authored-by: Marnik Bercx <mbercx@gmail.com>
- Loading branch information