Skip to content

Commit 2680b4e

Browse files
committed
Remove delayed-inference code - codecov warning
1 parent 240f479 commit 2680b4e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pvlib/modelchain.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,11 +1709,6 @@ def run_model(self, weather):
17091709
weather = _to_tuple(weather)
17101710
self.prepare_inputs(weather)
17111711
self.aoi_model()
1712-
1713-
# spectral model is optional, and weather may impact model inference
1714-
# check if spectral model inference is requested by means of "None"
1715-
if self._spectral_model is None:
1716-
self._spectral_model = self.infer_spectral_model(weather=weather)
17171712
self.spectral_model()
17181713

17191714
self.effective_irradiance_model()

0 commit comments

Comments
 (0)