Commit 29d74b1
docs: fix WQP README example unpacking and stale install instructions
README WQP examples assigned the (DataFrame, metadata) tuple to a single name,
so `len(sites)` / `len(results)` printed 2 (the tuple length) instead of the
row count. Unpack to `sites, metadata = ...` / `results, metadata = ...`
(verified live: prints 25573 sites / 163 measurements).
docs/source/meta/installing.rst referenced requirements.txt and
requirements-dev.txt, which no longer exist — dependencies moved to
pyproject.toml. Point the intro at [project.dependencies] and
[project.optional-dependencies], replace the dev-install step with
`pip install -e ".[test,doc,nldi]"`, and drop the two dangling rst link
targets.
The NLDI README examples (feature_source='comid') were checked against the
live NLDI API and work as written (get_basin -> 1 feature, get_flowlines -> 7
flowlines), so they are intentionally left unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 906c859 commit 29d74b1
2 files changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
13 | 9 | | |
14 | 10 | | |
15 | 11 | | |
| |||
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
0 commit comments