FAIRmat-NFDI / pynxtools-xps

A pynxtools reader plugin for X-ray photoelectron spectroscopy (XPS) data
https://fairmat-nfdi.github.io/pynxtools-xps/
Apache License 2.0
2 stars 0 forks source link

Check for correct units with pint #53

Closed lukaspie closed 1 month ago

lukaspie commented 1 month ago

The reader failed in NOMAD because the wrong units were used. This PR

The second part should eventually become part of the validation in pynxtools.

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9223517446

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pynxtools_xps/reader_utils.py 12 17 70.59%
<!-- Total: 20 25 80.0% -->
Totals Coverage Status
Change from base Build 9190027775: -0.1%
Covered Lines: 3002
Relevant Lines: 3539

💛 - Coveralls