diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:16:22 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:16:22 -0500 |
| commit | 398f41f13435d2de92ca31cb95a0604448b97e25 (patch) | |
| tree | f08928b0fe76828ddbe499d3cb3c7f0db6cf6146 /scripts | |
| parent | 91de0bd7cc576482525cbb2f18ed610dc203adba (diff) | |
| parent | 259a576034919802440afafc49a23b5998af3c1d (diff) | |
Merge pull request #4606 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/shader_stats.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/shader_stats.py b/scripts/shader_stats.py index 82580c17f..d325b9fc4 100644 --- a/scripts/shader_stats.py +++ b/scripts/shader_stats.py | |||
| @@ -69,6 +69,8 @@ def load_stats(path): | |||
| 69 | raise ValueError(f"line 1: duplicated required header column(s): {', '.join(duplicates)}") | 69 | raise ValueError(f"line 1: duplicated required header column(s): {', '.join(duplicates)}") |
| 70 | for row in reader: | 70 | for row in reader: |
| 71 | line = reader.line_num | 71 | line = reader.line_num |
| 72 | if None in row: | ||
| 73 | raise ValueError(f"line {line}: row has more fields than the header") | ||
| 72 | absent = [c for c in REQUIRED if row[c] is None] | 74 | absent = [c for c in REQUIRED if row[c] is None] |
| 73 | if absent: | 75 | if absent: |
| 74 | raise ValueError(f"line {line}: row missing required column(s): {', '.join(absent)}") | 76 | raise ValueError(f"line {line}: row missing required column(s): {', '.join(absent)}") |