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

bluesky / hklpy2 / 24495913517
100%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 06:39AM UTC
Jobs 1
Files 24
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

16 Apr 2026 06:36AM UTC coverage: 100.0%. Remained the same
24495913517

push

github

web-flow
Refactor misc.py phases 1 & 2: exceptions.py and devices.py (#352)

* maint #341 extract exception classes from misc.py into exceptions.py

Create hklpy2/exceptions.py with all 10 custom exception classes:
Hklpy2Error, ConfigurationError, ConstraintsError, CoreError,
DiffractometerError, LatticeError, NoForwardSolutions, ReflectionError,
SampleError, SolverError.

Remove the class definitions from misc.py (no re-export shim).
Update all internal imports across source, backend, block, and test
files to import directly from hklpy2.exceptions. misc.py itself
imports NoForwardSolutions and SolverError from exceptions for its
own use in pick_*_solution() and get_solver().

Agent: OpenCode (claudesonnet46)

* maint #342 extract ophyd device helpers from misc.py into devices.py

Create hklpy2/devices.py with 7 ophyd device construction helpers:
VirtualPositionerBase, define_real_axis, dict_device_factory,
dynamic_import, make_component, make_dynamic_instance, parse_factory_axes.

Remove all 7 definitions from misc.py (no re-export shim). Update
internal imports in diffract.py (deferred imports inside creator()) and
test files. dev_i182.py is gitignored and not tracked.

misc.py now imports nothing from ophyd directly except Device
(still needed by ConfigurationRunWrapper).

Agent: OpenCode (claudesonnet46)

188 of 188 new or added lines in 15 files covered. (100.0%)

3196 of 3196 relevant lines covered (100.0%)

4.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24495913517.1 16 Apr 2026 06:40AM UTC 24
100.0
GitHub Action Run
Source Files on build 24495913517
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9b9b37f3 on github
  • Prev Build on main (#24494368876)
  • Next Build on main (#24496724746)
  • 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