Commit 143d0ef
committed
Fix validate_mc_scenarios error message; update load_optim_config docstring
validate_mc_scenarios was still converting indices to 1-based in its error
message after the 0-based switch. Error now reports the raw 0-based indices
and the correct range (0–N-1).
load_optim_config docstring replaced: removes the stale 'components_path'
reference and documents the two extra steps the function performs beyond
plain YAML parsing (relative path resolution and eager scenario_ids
population).
https://claude.ai/code/session_01EfjU9tBfdyZ9nZmQFCe5uU1 parent 94aa8e7 commit 143d0ef
2 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | | - | |
292 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
293 | 300 | | |
294 | 301 | | |
295 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments