Commit ec99fd1
fix: parse ascent rows with nested tables in route icons (#17)
* fix: parse ascent rows with nested tables in route icons
Fix parser skipping ascent rows that contain nested tables in the
route icons column. The parser was using recursive cell counting
which included cells from nested tables, causing valid rows to be
rejected for having too many cells.
Changes:
- Add recursive=False to find_all() when counting table cells
- Ensures only direct child cells are counted, not nested ones
- Add tests for Mount Si (peak 2087) which has nested tables
- Exclude test cassettes from large file and YAML lint checks
Fixes issue where ascents with multiple route icons were missing
from output due to incorrect cell count validation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: update uv.lock with version 1.6.2
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: remove uv.lock from version control
Add uv.lock to .gitignore to prevent tracking dependency lock file.
The lock file can vary between environments and should be generated
locally by each developer.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7dde86c commit ec99fd1
File tree
5 files changed
+23021
-1
lines changed- peakbagger
- tests
- cassettes
5 files changed
+23021
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
| 371 | + | |
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
| |||
0 commit comments