hil: soak validates capture size, retains verdict stderr; meter_anchored survives missing IQ

This commit is contained in:
Lars Nolden
2026-09-01 18:23:44 +02:00
parent 678d3d6ee6
commit f427bda77d
2 changed files with 15 additions and 2 deletions
+6 -1
View File
@@ -81,7 +81,12 @@ def main():
ap.add_argument("--json", action="store_true")
args = ap.parse_args()
db, floor = envelope(args.iq)
try:
db, floor = envelope(args.iq)
except (FileNotFoundError, ValueError):
print("IQ file missing or unreadable -- capture never started",
file=sys.stderr)
sys.exit(3)
bursts = bursts_of(db, floor)
rx, tx = parse_serial(args.serial)
strong = [r for r in rx