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

WashU-Astroparticle-Lab / straxion / 22700205845 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 05 Mar 2026 03:04AM UTC
Files 14
Run time 0s
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

05 Mar 2026 03:01AM UTC coverage: 64.394% (+0.3%) from 64.113%
22700205845.1

push

github

web-flow
Refactor utils.py into focused modules (#82)

* Refactor utils.py into focused modules

Split the monolithic utils.py into three focused modules:
- constants.py: all module-level constants (dtypes, physical constants,
  pulse template data, file paths)
- colors.py: register_xenon_colors() and plot_channels()
- utils.py: utility functions only (load_interpolation, base_waveform_dtype,
  timestamp_to_nanoseconds, circfit)

Update all plugin and test imports accordingly. All 114 tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Fix bugs found in PR review

- colors.py: plot_channels now returns (fig, ax, sc) instead of calling fig.show()
- colors.py: replace hardcoded edgecolor="xenon_red" with "#B9123E" so plot_channels works without register_xenon_colors() being called first
- colors.py: move matplotlib.colors import inside register_xenon_colors() for consistent lazy importing
- utils.py: add `from .constants import *` shim so `from straxion.utils import <constant>` remains backward-compatible

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

1237 of 1921 relevant lines covered (64.39%)

0.64 hits per line

Source Files on job 22700205845.1
  • Tree
  • List 14
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22700205845
  • 38222b4f on github
  • Prev Job for on main (#21872983126.1)
  • Next Job for on main (#23962915139.1)
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