Release v0.35.0 — 80 of 88 report fields from the file, and monitor logs (.MLG) #60

Merged
serversdown merged 50 commits from dev into main 2026-11-16 15:49:06 -05:00
2 changed files with 6 additions and 5 deletions
Showing only changes of commit 8c6cad681c - Show all commits

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ from minimateplus.bw_ascii_report import (
)
FIXTURES = Path(__file__).parent.parent / "decode-re" / "5-8-26"
FIXTURES = Path(__file__).parent / "fixtures" / "decode-re-5-8-26"
def _fixture(event_name: str) -> Path:
+5 -4
View File
@@ -410,8 +410,8 @@ def test_save_imported_bw_with_paired_report(tmp_path: Path):
# Use one of the real BW ASCII exports as the paired report.
report_path = (
Path(__file__).parent.parent
/ "decode-re" / "5-8-26" / "event-c" / "M529LK44.AB0.TXT"
Path(__file__).parent
/ "fixtures" / "decode-re-5-8-26" / "event-c" / "M529LK44.AB0.TXT"
)
if not report_path.exists():
import pytest as _pt
@@ -498,8 +498,9 @@ def test_save_imported_bw_without_report_works_unchanged(tmp_path: Path):
sc = store.load_sidecar("BE11529", fname)
assert sc is not None
assert "bw_report" not in sc # block is absent without a report
# Synthetic event has zero samples → peaks all zero (was true before this change)
assert sc["peak_values"]["transverse"] == 0.0
# Synthetic event has zero samples: the peaks stay unknown (None), never a
# fabricated 0.0 that a backfill could write over real peaks (fa9d3cd).
assert sc["peak_values"]["transverse"] is None
def test_save_imported_bw_round_trip(tmp_path: Path):