Closed JFRudzinski closed 2 months ago
@JosePizarro3 I just made 1 change from what we talked about: instead of defining method_ref inside of BaseEnergy()
, I brought it up a level and defined PropertyContribution()
with method_ref, and then EnergyContribution(PropertyContribution, BaseEnergy)
. That way I 1. don't have to hide method_ref
in TotalEnergy()
and also don't have to redefine method_ref
for ForceContribution()
, see forces.py
.
But if the other way is better just let me know and I will change it.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/nomad_simulations/schema_packages/outputs.py | 12 | 14 | 85.71% | ||
src/nomad_simulations/schema_packages/physical_property.py | 5 | 8 | 62.5% | ||
src/nomad_simulations/schema_packages/properties/energies.py | 14 | 18 | 77.78% | ||
src/nomad_simulations/schema_packages/properties/forces.py | 16 | 22 | 72.73% | ||
src/nomad_simulations/schema_packages/properties/thermodynamics.py | 51 | 70 | 72.86% | ||
<!-- | Total: | 101 | 135 | 74.81% | --> |
Totals | |
---|---|
Change from base Build 9710724962: | -0.4% |
Covered Lines: | 1641 |
Relevant Lines: | 2080 |
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/nomad_simulations/schema_packages/outputs.py | 12 | 14 | 85.71% | ||
src/nomad_simulations/schema_packages/physical_property.py | 5 | 8 | 62.5% | ||
src/nomad_simulations/schema_packages/properties/energies.py | 14 | 18 | 77.78% | ||
src/nomad_simulations/schema_packages/properties/forces.py | 16 | 22 | 72.73% | ||
src/nomad_simulations/schema_packages/properties/thermodynamics.py | 57 | 75 | 76.0% | ||
<!-- | Total: | 107 | 140 | 76.43% | --> |
Totals | |
---|---|
Change from base Build 9761581042: | -0.3% |
Covered Lines: | 1646 |
Relevant Lines: | 2087 |
This PR now covers the basic schema for energies, forces, and thermodynamic properties