Skip to content

Commit

Permalink
Fix formatting for phase energy
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtal1 authored Oct 19, 2020
1 parent 1d7f85e commit 9094711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extalife/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def format_state_attr(self, attr: dict):
elif search("phase_shift", k):
v = v / 10
elif search("phase_energy", k):
v = v / 10000
v = v / 100000
if val != v:
attr.update({k:v})

Expand Down

0 comments on commit 9094711

Please sign in to comment.