Skip to content

Commit

Permalink
[fix]: Adding signal in POTCAR name for correction with amplitude -1
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed Jun 8, 2021
1 parent 21ebe56 commit 684270b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minushalf/utils/atomic_potential.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def correct_file(
amplitude = abs(amplitude) * -1

filename = ""
if np.isclose(abs(amplitude), 1.0):
if np.isclose(amplitude, 1.0):
filename = "{}cut{:.2f}".format(self.potential_file.get_name(),
cut)
else:
Expand Down

0 comments on commit 684270b

Please sign in to comment.