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

nomad-coe / electronic-parsers / 24407772514
93%
develop: 93%

Build:
Build:
LAST BUILD BRANCH: v1.0.17
DEFAULT BRANCH: develop
Ran 14 Apr 2026 03:34PM UTC
Jobs 1
Files 203
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

14 Apr 2026 03:21PM UTC coverage: 92.89% (+0.01%) from 92.88%
24407772514

Pull #331

github

ndaelman-hu
Fix VASP time calculation dimensionality error

Fixed pint.DimensionalityError when parsing time_calculation and
time_physical values in VASP parser. The issue had two root causes:

1. time_calculation was assigned as plain float without units, causing
   unit mismatches when adding to time_physical
2. time_initial could be None when previous calculations didn't set
   time_physical, causing dimensionality errors in arithmetic

Changes:
- Add explicit units (ureg.s) when setting time_calculation values
- Store time quantity in variable before assignment to avoid getter
  issues with metainfo unit wrapping
- Add None checks for time_initial with fallback to 0*ureg.s
- Add None checks for time_physical before using in calculations

All 23 VASP parser tests pass including test_malformed_time_entries.
Pull Request #331: Fix VASP time calculation dimensionality error

9 of 9 new or added lines in 1 file covered. (100.0%)

325 existing lines in 9 files now uncovered.

36124 of 38889 relevant lines covered (92.89%)

0.93 hits per line

Coverage Regressions

Lines Coverage ∆ File
106
80.13
0.0% electronicparsers/cp2k/parser.py
89
88.49
0.0% electronicparsers/fhiaims/parser.py
31
87.65
0.0% electronicparsers/openmx/parser.py
22
95.77
0.0% electronicparsers/ams/parser.py
21
94.26
0.0% electronicparsers/abacus/parser.py
19
90.65
0.25% electronicparsers/yambo/parser.py
17
92.26
0.0% electronicparsers/wien2k/parser.py
13
91.53
0.22% electronicparsers/quantumespresso/parser.py
7
98.34
0.0% electronicparsers/crystal/parser.py
Jobs
ID Job ID Ran Files Coverage
1 24407772514.1 14 Apr 2026 03:34PM UTC 203
92.89
GitHub Action Run
Source Files on build 24407772514
  • Tree
  • List 203
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #331
  • PR Base - develop (#22718761778)
  • 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