Release v0.34.0 — Series-4 parity, and most of Blastware's report from the event file alone #59

Merged
serversdown merged 245 commits from dev into main 2026-11-04 18:19:24 -05:00
2 changed files with 10 additions and 9 deletions
Showing only changes of commit 789e24be50 - Show all commits

No files matched your search

+1 -1
View File
@@ -346,7 +346,7 @@ async function loadEventList() {
// ── Device bar ───────────────────────────────────────────────────────────────── // ── Device bar ─────────────────────────────────────────────────────────────────
function populateDeviceBar() { function populateDeviceBar() {
qs('di-serial').textContent = unitInfo.serial || '—'; qs('di-serial').textContent = unitInfo.serial || '—';
qs('di-fw').textContent = unitInfo.firmware_version || unitInfo.firmware || '—'; qs('di-fw').textContent = firmwareLabel(unitInfo);
const cc = unitInfo.compliance_config || {}; const cc = unitInfo.compliance_config || {};
qs('di-sr').textContent = cc.sample_rate ? `${cc.sample_rate} sps` : '—'; qs('di-sr').textContent = cc.sample_rate ? `${cc.sample_rate} sps` : '—';
qs('di-rt').textContent = cc.record_time != null ? `${cc.record_time.toFixed(1)} s` : '—'; qs('di-rt').textContent = cc.record_time != null ? `${cc.record_time.toFixed(1)} s` : '—';
+9 -8
View File
@@ -345,14 +345,15 @@ class WaveformStore:
exc, exc,
) )
# If we have a report, overlay its device-authoritative fields # If we have a report, overlay its fields (peaks, project,
# (peaks, project, sample_rate, record_time) onto the Event # sample_rate, record_time) onto the Event BEFORE handing it to
# BEFORE handing it to db.insert_events(). Without this overlay # db.insert_events(). The file decode reads these itself now (the
# the DB row gets `peak_values` from _peaks_from_samples(), which # decode checker compares it with Blastware's XML reports, DL2's
# runs the still-undecoded waveform codec on the BW body and # 70,042 events); the overlay stays because production keeps a
# produces ±10 in/s saturation values on every channel for every # paired Blastware report as the record until the file-only decode
# event. The sidecar JSON had the correct values via # has no blanks. The sidecar's `bw_report` block keeps the report's
# event_to_sidecar_dict(bw_report=...) but the DB columns didn't. # own values either way. (The old reason -- an undecoded codec
# giving ±10 in/s -- has not held since the 2026-08 codec fixes.)
if bw_report is not None: if bw_report is not None:
try: try:
event_file_io.apply_report_to_event(ev, bw_report) event_file_io.apply_report_to_event(ev, bw_report)