• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FAIRmat-NFDI / nomad-simulations / 32727898389
87%

Build:
DEFAULT BRANCH: develop
Ran 24 Aug 2026 12:36PM UTC
Jobs 3
Files 134
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Aug 2026 12:35PM UTC coverage: 87.094% (+0.1%) from 86.986%
32727898389

push

github

web-flow
QC1: `MolecularOrbitals` semantic and scientific cleanup

Introduce `MolecularOrbitals` as a standalone `PhysicalProperty` (no longer subclassing `ElectronicEigenvalues`), describing molecular-orbital eigenstates in an atom-centered AO basis, and expose it as a repeating `molecular_orbitals` sub-section on `Outputs`.

Schema:
- `value` holds the orbital energies (eigenvalues), mirroring `ElectronicEigenvalues`; `occupations` is a companion quantity typed as an `m_float_bounded` interval `[0, 2]` with a small numerical-noise slack.
- AO->MO coefficient matrix as `coefficients` (plus `coefficients_im` for complex wavefunctions), stored as `HDF5Dataset`, with a `basis_set_ref` to the atom-centered basis set.
- Per-orbital classification `role` (core/inactive/active/virtual/deleted) and `symmetry`, whole-set `kind` (canonical/natural/localized), and `spin_channel` for the spin representation.
- Frontier orbitals split into provenance `_parsed` fields and purely derived `_normalized` fields (`homo`/`lumo`/`homo_lumo_gap`): resolved only for explicitly `canonical` orbitals with an occupied/unoccupied boundary, with no fallback to the parsed values, and the gap taken from the derived pair so it stays consistent.

Normalization:
- Infer `n_mo`/`n_ao` from the coefficient matrix; validate coefficient shapes, per-orbital lengths, `n_mo <= n_ao`, and `spin_channel`.

Docs:
- Export `MolecularOrbitals`, add it to the electronic-properties vertical, and regenerate the schema docs.
- Document the `value`-vs-`Variables` convention (dependent quantity vs independent axes, overridden per subclass) in a new schema-development page and the `PhysicalProperty` base docstring.

Tests: coefficient-matrix (HDF5) handling and parametrized frontier-resolution, occupation-bound, and dimension-inference tests.

Follow-ups: #467 (gap as a derived `ElectronicBandGap` using `is_derived`), #468 (interval datatype with configurable slack and error/log mode).

160 of 167 new or added lines in 5 files covered. (95.81%)

1 existing line in 1 file now uncovered.

10129 of 11630 relevant lines covered (87.09%)

2.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.79
3.34% src/nomad_simulations/schema_packages/properties/molecular_orbitals.py
3
97.12
-1.47% tests/properties/test_molecular_orbitals.py

Coverage Regressions

Lines Coverage ∆ File
1
97.12
-1.47% tests/properties/test_molecular_orbitals.py
Jobs
ID Job ID Ran Files Coverage
1 32727898389.1 24 Aug 2026 12:36PM UTC 134
87.09
GitHub Action Run
2 32727898389.2 24 Aug 2026 12:36PM UTC 134
87.09
GitHub Action Run
3 32727898389.3 24 Aug 2026 12:37PM UTC 134
87.09
GitHub Action Run
Source Files on build 32727898389
  • Tree
  • List 134
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d574f2bf on github
  • Prev Build on develop (#32400814749)
  • Next Build on develop (#33082751427)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc