Skip to content

Commit

Permalink
[fix]: Adjusting the number of decimal places in correct potfile command
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed Jun 10, 2021
1 parent ff919be commit fd5ebf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minushalf/commands/correct_potfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def correct_potfile(
is_conduction = True

for new_cut in cut_numbers:
logger.info("Correcting POTFILE for cut = {:.3} ".format(new_cut))
logger.info("Correcting POTFILE for cut = {:.2f} ".format(new_cut))
new_potential = atomic_potential.correct_potential(
new_cut, amplitude, is_conduction)
atomic_potential.correct_file(new_potential, new_cut, amplitude,
Expand Down

0 comments on commit fd5ebf4

Please sign in to comment.