INNER CODE UNIT · Python

size_kb

Chanchaldhiman/CANviz · backend/canviz/cli.py:1003

        size_kb = output.stat().st_size // 1024
        n_with_signals = sum(1 for f in decoded_frames if f["signals"])
        err_console.print(
            f"\n  [green]Saved[/] {len(decoded_frames):,} frames "
            f"({n_with_signals:,} decoded) → [cyan]{output}[/] ({size_kb} KB)\n"
        )


# ── j1939 subcommand group ────────────────────────────────────────────────────

j1939_app = typer.Typer(
    name="j1939",
    help="J1939 decoder commands - inspect nodes, faults, and BAM log.",
    no_args_is_help=True,
)
app.add_typer(j1939_app, name="j1939")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…