There is an issue with the calculation of kinetic_energy properties in run module.
During data migration, the computed values for kinetic energy do not match the expected values stored in the msgpack files. This mismatch causes all related tests in atomdb/test/test_wfn_slater to fail for multiple atomic species.
From the errors, it seems the problem arises from the kinetic energy density calculations or the integration logic within run module
Example failure
atomdb/test/test_wfn_slater.py
args = (0.14730019881254125, 37.708843614), kwds = {'decimal': 5}
@wraps(func)
def inner(*args, **kwds):
with self._recreate_cm():
> return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
E AssertionError:
E Arrays are not almost equal to 5 decimals
E ACTUAL: 0.14730019881254125
E DESIRED: 37.708843614
All related failing tests
FAILED atomdb/test/test_wfn_slater.py::test_slater_positive_definite_kinetic_energy[He-0-1-2.861679997-5]
FAILED atomdb/test/test_wfn_slater.py::test_slater_positive_definite_kinetic_energy[Be-0-1-14.57302313-5]
FAILED atomdb/test/test_wfn_slater.py::test_slater_positive_definite_kinetic_energy[B-0-2-24.529060725-5]
FAILED atomdb/test/test_wfn_slater.py::test_slater_positive_definite_kinetic_energy[Cl-0-2-459.482072308-3]
FAILED atomdb/test/test_wfn_slater.py::test_slater_positive_definite_kinetic_energy[Ag-0-2-5197.698468984-2]
FAILED atomdb/test/test_wfn_slater.py::test_slater_positive_definite_kinetic_energy[C-1-2-37.292223758-5]
FAILED atomdb/test/test_wfn_slater.py::test_slater_positive_definite_kinetic_energy[C--1-4-37.708843614-5]
@gabrielasd @marco-2023 Could you please check this?
There is an issue with the calculation of
kinetic_energyproperties inrunmodule.During data migration, the computed values for kinetic energy do not match the expected values stored in the
msgpackfiles. This mismatch causes all related tests inatomdb/test/test_wfn_slaterto fail for multiple atomic species.From the errors, it seems the problem arises from the kinetic energy density calculations or the integration logic within
runmoduleExample failure
atomdb/test/test_wfn_slater.py args = (0.14730019881254125, 37.708843614), kwds = {'decimal': 5} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) ^^^^^^^^^^^^^^^^^^^ E AssertionError: E Arrays are not almost equal to 5 decimals E ACTUAL: 0.14730019881254125 E DESIRED: 37.708843614All related failing tests
@gabrielasd @marco-2023 Could you please check this?