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

FAIRmat-NFDI / nomad-simulations / 29016415064
86%
develop: 86%

Build:
Build:
LAST BUILD BRANCH: fix-kmesh-high-symmetry-ase-lattice-mismatch
DEFAULT BRANCH: develop
Ran 09 Jul 2026 12:01PM 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

09 Jul 2026 11:55AM UTC coverage: 86.057% (+0.1%) from 85.915%
29016415064

Pull #403

github

web-flow
Use SeeKpath for high-symmetry k-point resolution (#405)

Replace the ASE-based high-symmetry k-point resolution with SeeKpath (HPKOT
recipe). ASE classifies the bare cell from its metrics alone and cannot accept
an external symmetry analysis, so it could disagree with the spglib-derived
symmetry NOMAD stores; its `BravaisLattice` constructors additionally enforce
Setyawan-Curtarolo parameter conventions that standardized cells do not
generally satisfy. SeeKpath keys k-point selection to the space group from the
same spglib analysis behind NOMAD's stored symmetry, so classification and
k-points cannot disagree by construction.

- `resolve_high_symmetry_points` reimplemented on `seekpath.get_path`.
- SeeKpath returns coordinates in its standardized primitive cell's reciprocal
  basis; `_to_input_reciprocal_basis` transforms them into the input cell's
  reciprocal basis (the `high_symmetry_points` contract), undoing any rigid
  rotation from spglib idealization via `std_rotation_matrix`.
- Degenerate inputs (empty list, no representative system, no primitive
  representation) return `None` instead of raising.
- Resolve k-points for the actual `primitive` representation rather than
  assuming it is at index 0.
- Declare `seekpath` and `spglib` as dependencies.

Tests cover the three reported bug scenarios, coordinate-basis handling
(conventional BCC, axis-permuted FCC primitive, rigidly rotated BCC primitive),
and three reference structures distilled to their spglib primitive cells,
validated against an independent primitive-cell SeeKpath reference.

Labels follow the HPKOT convention and can differ from Setyawan-Curtarolo where
the classifications differ; consumers matching specific label names may need
updating.
Pull Request #403: fix KMesh high-symmetry point fallback for ASE lattice mismatches

84 of 89 new or added lines in 3 files covered. (94.38%)

71 existing lines in 3 files now uncovered.

9820 of 11411 relevant lines covered (86.06%)

2.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
90.2
3.23% src/nomad_simulations/schema_packages/numerical_settings.py

Coverage Regressions

Lines Coverage ∆ File
41
85.04
0.0% src/nomad_simulations/schema_packages/model_system.py
28
90.2
3.23% src/nomad_simulations/schema_packages/numerical_settings.py
2
88.24
0.0% src/nomad_simulations/schema_packages/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 29016415064.1 09 Jul 2026 12:01PM UTC 134
86.06
GitHub Action Run
2 29016415064.2 09 Jul 2026 12:01PM UTC 134
86.06
GitHub Action Run
3 29016415064.3 09 Jul 2026 12:02PM UTC 134
86.06
GitHub Action Run
Source Files on build 29016415064
  • Tree
  • List 134
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #403
  • PR Base - develop (#27278891574)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc