Update calendar generation and data normalization; add read check command

- Add config file support for calendar colors and logos in generate_calendar
- Extend normalization mappings in normalization.toml for fields and teams
- Add 'read check' command to summarize game and field data from input files
- Fix normalization to correctly handle visitor field and value lookups
- Update launch configurations for new data and options
This commit is contained in:
2025-08-26 16:42:19 -05:00
parent c1628f5dfe
commit 2a521e9016
6 changed files with 112 additions and 33 deletions

22
.vscode/launch.json vendored
View File

@@ -12,8 +12,8 @@
"args": [
"convert",
"sportspress",
"data/2025-hounds.csv",
"data/output/out.csv",
"/Users/asc/Downloads/2025 CSYBA vs CMBA SCHEDULE.xlsx",
"data/output/2025-hounds.csv",
],
"console": "integratedTerminal",
"justMyCode": true
@@ -27,7 +27,8 @@
"args": [
"generate",
"calendar",
"./data/2025-hounds.csv"
"./data/2025-hounds.csv",
"-c", "./data/output/calendar_config.toml"
],
"console": "integratedTerminal",
"justMyCode": true
@@ -41,11 +42,24 @@
"args": [
"generate",
"calendar-config",
"./data/2024-hounds.csv",
"./data/2025-hounds.csv",
"./data/output/"
],
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "read check",
"type": "debugpy",
"request": "launch",
"cwd": "${workspaceFolder}",
"module": "src",
"args": [
"read", "check",
"./data/2024.csv"
],
"console": "integratedTerminal",
"justMyCode": true
}
]
}