Refactor CSV handling in csv_handler.py and update runtest.sh to log SSID metrics file path

This commit is contained in:
Yaro Kasear 2025-04-28 13:52:17 -05:00
parent 68ed848b54
commit 69c46aff22
3 changed files with 9 additions and 6 deletions

View file

@ -27,7 +27,7 @@ def write_ssid_sidecar(enriched_path, ssid_summary):
write a sidecar CSV file next to it.
"""
enriched = Path(enriched_path)
ssid_outfile = enriched.with_name(enriched.stem + '-ssid-metrics.csv')
ssid_outfile = Path(enriched_path).with_name(Path(enriched_path).stem + '-ssid-metrics.csv')
with ssid_outfile.open('w', newline='', encoding='utf-8') as f:
fieldnames = [