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

FAIRmat-NFDI / nomad-parser-plugins-simulation / 21436480594
63%
develop: 66%

Build:
Build:
LAST BUILD BRANCH: refactor/idiomatic-vasp-pseudopotential-parsing
DEFAULT BRANCH: develop
Ran 28 Jan 2026 11:31AM UTC
Jobs 1
Files 77
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

28 Jan 2026 10:11AM UTC coverage: 63.165% (-3.8%) from 66.967%
21436480594

Pull #129

github

ndaelman-hu
Fix VASP pseudopotential parsing by reordering convert passes

Previously, vasprun.xml parsing created only 1 pseudopotential instead of 2
due to a positional merge bug in the NOMAD mapping_parser framework.

Root cause:
- XML_KEY created KSpace in numerical_settings first
- OUTCAR_KEY tried to add 2 pseudopotentials
- Default update_mode='merge' caused positional merging
- First PP merged INTO existing KSpace dict (corrupted)
- Only second PP created correctly

Solution:
- Reorder convert passes: Parse OUTCAR before XML_KEY
- OUTCAR creates 2 PPs in empty numerical_settings list
- XML_KEY runs after (KSpace not created due to same merge bug)

Changes:
- xml_parser.py: Reordered passes, replaced manual PP creation with annotations
- vasp.py: Removed XML field annotations, cleaned up collection annotations

Trade-off:
- KSpace not created via XML_KEY annotation (acceptable, can be added manually if needed)

All tests pass. 2 pseudopotentials now created correctly.
Pull Request #129: Add pseudopot parsing

154 of 186 new or added lines in 10 files covered. (82.8%)

416 existing lines in 9 files now uncovered.

4395 of 6958 relevant lines covered (63.16%)

0.63 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
44.89
-0.4% src/nomad_simulation_parsers/parsers/fhiaims/parser.py
12
77.78
-7.41% src/nomad_simulation_parsers/parsers/vasp/xml_parser.py
19
81.85
-2.29% src/nomad_simulation_parsers/parsers/vasp/outcar_parser.py

Uncovered Existing Lines

Lines Coverage ∆ File
6
97.45
-1.46% tests/parsers/test_lammps_parser.py
7
37.69
-1.01% src/nomad_simulation_parsers/parsers/quantumespresso/parser.py
15
46.81
-31.91% src/nomad_simulation_parsers/parsers/quantumespresso/pwscf/parser.py
17
40.63
-52.23% src/nomad_simulation_parsers/schema_packages/utils.py
42
47.33
-17.07% src/nomad_simulation_parsers/parsers/utils/mdparserutils.py
45
65.28
-15.23% src/nomad_simulation_parsers/parsers/lammps/trajectory_parsers.py
57
39.34
-20.96% src/nomad_simulation_parsers/parsers/lammps/file_parsers.py
112
21.79
-59.1% src/nomad_simulation_parsers/parsers/lammps/parser.py
115
35.48
-4.91% src/nomad_simulation_parsers/parsers/utils/mdanalysisparser.py
Jobs
ID Job ID Ran Files Coverage
1 21436480594.1 28 Jan 2026 11:31AM UTC 77
63.16
GitHub Action Run
Source Files on build 21436480594
  • Tree
  • List 77
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #129
  • PR Base - develop (#20136411595)
  • 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