Commit c4a2b4b
Fix error message modelchain.infer_temperature_model error to be more informative (#1977)
* Update error message in infer_temperature_model
* Updated whats new rst doc
* Minor wording update to bug fix description about error message update
* Fix ValuerError message formatting in infer_temperature_model to address linter issues
* Capitalize beginning of error message in modelchain.infer_temperature_model
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update pvlib/modelchain.py
Spelling error correction in error message
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
* Update test_inconsistent_array_params and test_temperature_model_not_specified with the correct error message from infer_tempertaure_model
---------
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>1 parent e5fa03c commit c4a2b4b
File tree
3 files changed
+16
-15
lines changed- docs/sphinx/source/whatsnew
- pvlib
- tests
3 files changed
+16
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
1136 | 1140 | | |
1137 | 1141 | | |
1138 | 1142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
1309 | | - | |
1310 | | - | |
1311 | 1309 | | |
1312 | 1310 | | |
1313 | 1311 | | |
1314 | 1312 | | |
1315 | 1313 | | |
1316 | 1314 | | |
1317 | 1315 | | |
1318 | | - | |
1319 | | - | |
| 1316 | + | |
| 1317 | + | |
1320 | 1318 | | |
1321 | 1319 | | |
1322 | 1320 | | |
| |||
1957 | 1955 | | |
1958 | 1956 | | |
1959 | 1957 | | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
1963 | | - | |
1964 | | - | |
| 1958 | + | |
| 1959 | + | |
1965 | 1960 | | |
1966 | 1961 | | |
1967 | 1962 | | |
| |||
0 commit comments