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

FAIRmat-NFDI / pynxtools-spm / 32974612526
99%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2026 01:34PM UTC
Jobs 1
Files 7
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

26 Aug 2026 01:30PM UTC coverage: 98.933%. Remained the same
32974612526

push

github

web-flow
Read Bruker NanoScope .spm with gwyddionpy instead of pySPM (#99)

pySPM was pulled in as a direct git reference to a fork, which PyPI rejects
outright ("400 Can't have direct dependency"), and every pySPM release caps
requires-python at <3.13. Gwyddion's `nanoscope` importer reads the format
too, and gwyddionpy is already a dependency for the SPMLab .flt reader, so
SpmBruker now builds on it and pySPM is dropped from pyproject.toml.

gwyddionpy returns SI values with Gwyddion's unconditional vertical flip
applied and merges every header section into one flat per-channel dict, so
the parser:

- takes the image arrays from gwyddionpy and reads the ASCII header itself,
  preserving the /File/, /Equipment_list/, /Scanner_list/ and
  /Scan/<channel>/<direction>/ key layout the config files address;
- identifies each layer from `@2:Image Data` and `Line Direction` rather
  than from gwyddionpy's channel labels;
- converts each layer back to its own unit with a factor derived from the
  sensitivity named by the layer's `@2:Z scale`, including the factor 1000
  for the channels whose Z scale is written in millivolts.

The migration is output-neutral: all 119 tests pass against the committed
reference NeXus files, and the conversion examples reproduce their run log.

Reading the header directly also fixes the truncation of /File/* and
/Equipment_list/* values to their first character; no config refers to
those paths, so the generated files are unaffected.

371 of 375 relevant lines covered (98.93%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32974612526.1 26 Aug 2026 01:34PM UTC 7
98.93
GitHub Action Run
Source Files on build 32974612526
  • Tree
  • List 7
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 95ad8725 on github
  • Prev Build on main (#32965442984)
  • 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