Skip to content

Commit

Permalink
run pytest --force-regen
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber committed Sep 5, 2024
1 parent 9321c32 commit 70c17bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/calculations/test_ase/test_default.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from gpaw import PW
atoms = ase.io.read('aiida_atoms.json')

calculator = custom_calculator(mode=PW(ecut=300), kpts=(2,2,2))
atoms.set_calculator(calculator)
atoms.calc = calculator

optimizer = custom_optimizer(atoms, logfile='aiida_optimizer.log', alpha=0.9)
optimizer.run(fmax=0.05)
Expand Down
2 changes: 1 addition & 1 deletion tests/calculations/test_ase/test_gpw_file.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from gpaw import PW
atoms = ase.io.read('aiida_atoms.json')

calculator = custom_calculator(mode=PW(ecut=300), kpts=(2,2,2))
atoms.set_calculator(calculator)
atoms.calc = calculator

optimizer = custom_optimizer(atoms, logfile='aiida_optimizer.log', alpha=0.9)
optimizer.run(fmax=0.05)
Expand Down
3 changes: 2 additions & 1 deletion tests/parsers/test_ase/test_default_gpaw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ parameters:
energy_contributions:
entropy (-st): -0.0
external: 0.0
extrapolated: -21.867772
free energy: -21.867772
kinetic: -58.892375
local: 0.374148
potential: 69.325865
xc: -32.67541
fermi_energy: 9.10829
stress: null
total_energy: -21.8677718609009
structure:
cell:
Expand Down

0 comments on commit 70c17bd

Please sign in to comment.