Commit 183b1af
committed
Improve type handling in readStatistics parsing
Refactored the value assignment in readStatistics to use a try-except block for float conversion, ensuring non-numeric values are handled gracefully. This simplifies the logic and improves robustness when parsing statistics.1 parent cad83ff commit 183b1af
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12688 | 12688 | | |
12689 | 12689 | | |
12690 | 12690 | | |
12691 | | - | |
| 12691 | + | |
12692 | 12692 | | |
| 12693 | + | |
| 12694 | + | |
| 12695 | + | |
12693 | 12696 | | |
12694 | 12697 | | |
12695 | 12698 | | |
12696 | | - | |
12697 | | - | |
12698 | | - | |
12699 | 12699 | | |
12700 | 12700 | | |
12701 | 12701 | | |
| |||
0 commit comments