hil: soak validates capture size, retains verdict stderr; meter_anchored survives missing IQ
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user