Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aims bug fixes #3466

Merged
merged 5 commits into from
Nov 9, 2023
Merged

Aims bug fixes #3466

merged 5 commits into from
Nov 9, 2023

Conversation

tpurcell90
Copy link
Contributor

Summary

Minor updates to the aims interface that I discovered were necessary when adapting the FHI-aims atomate2 interface to use it.

Major changes:

  • feature 1: Default species directory from environment
  • fix 1: Parser erroneously referred to atoms in one place
  • fix 2: An error message did not use an f-string when it should have
  • fix 3: Modify tests to actually test for the spotted errors
  • admin 1: added headers to all source files

Checklist

  • Google format doc strings added. Check with ruff.
  • Type annotations included. Check with mypy.
  • Tests added for new features/fixes.
  • If applicable, new classes/functions/modules have duecredit @due.dcite decorators to reference relevant papers by DOI (example)

Restore the use of an environment variable to set the
aims species directory
1) Remove the filter for deciding if line is in a header or calc chunk
   Done since some lines appear in both
2) Remove stray call to an atoms object made from the atomate2 parsers

Modify the AimsOutput test for Si to use phonon calc file and not a relaxation
to check part 2
had an fstring but did not specify it was
No need to retest everything, just the one functionality
@janosh janosh added io Input/output functionality fix Bug fix PRs labels Nov 9, 2023
@janosh janosh enabled auto-merge (squash) November 9, 2023 20:04
@janosh janosh merged commit 77a92bd into materialsproject:master Nov 9, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix PRs io Input/output functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants