We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6848c1b commit 37c59b1Copy full SHA for 37c59b1
1 file changed
tests/core/calculate/test_ase_calculator.py
@@ -503,13 +503,13 @@ def test_formation_energy_calculator_mp_corrections_omat_task(single_mlip_predic
503
base_calc, apply_corrections=None
504
)
505
atoms.calc = formation_calc_corrected
506
- corrected_energy = bulk_atoms.get_potential_energy()
+ corrected_energy = atoms.get_potential_energy()
507
508
# Without corrections
509
atoms = bulk("MgO", "rocksalt", a=4.213)
510
formation_calc = FormationEnergyCalculator(base_calc, apply_corrections=False)
511
atoms.calc = formation_calc
512
- energy = bulk_atoms.get_potential_energy()
+ energy = atoms.get_potential_energy()
513
514
assert isinstance(energy, float)
515
assert isinstance(corrected_energy, float)
0 commit comments