Skip to content

Commit

Permalink
Added fix to ensure that Fe with ECP modlen files are in correct format
Browse files Browse the repository at this point in the history
  • Loading branch information
mane292 committed Jun 6, 2024
1 parent ef9e791 commit 65bcc6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyef/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ def fix_ECPmolden(self):
pattern_au = re.compile(r'(Au\s+\d+\s+)(\d+)')
content = pattern_au.sub(r'\g<1>19', content)

pattern_fe = re.compile(r'(Fe\s+\d+\s+)(\d+)')
content = pattern_fe.sub(r'\g<1>8', content)

pattern_i = re.compile(r'(I\s+\d+\s+)(\d+)')
content = pattern_i.sub(r'\g<1>7', content)

Expand Down

0 comments on commit 65bcc6f

Please sign in to comment.