Skip to content

Commit

Permalink
Minor fix ams parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Dec 12, 2024
1 parent 84fed5d commit a2fe30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electronicparsers/ams/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ def parse(self, key=None):
nspin = general.get('nspin', 1)
xc_functional = {}
if (ldapot := general.get('ldapot')) is not None:
xc_functional['LDA'] = self._ldapot.get(ldapot)
xc_functional['LDA'] = self._ldapot.get(ldapot, '')
if ggapot := general.get('ggapot', '').strip():
xc_functional['GGA'] = ggapot
if mgga := general.get('MetaGGAConfig', {}).get('metagga', '').strip():
Expand Down

0 comments on commit a2fe30b

Please sign in to comment.