Skip to content

Commit 6121759

Browse files
committed
rm TODOs
1 parent 3c70802 commit 6121759

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pvlib/modelchain.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def spectral_model(self, model):
876876
else:
877877
self._spectral_model = partial(model, self)
878878

879-
def infer_spectral_model(self): # TODO: support other spectral models?
879+
def infer_spectral_model(self):
880880
"""Infer spectral model from system attributes."""
881881
module_parameters = tuple(
882882
array.module_parameters for array in self.system.arrays)
@@ -913,7 +913,6 @@ def infer_spectral_model(self): # TODO: support other spectral models?
913913
)
914914
return self.no_spectral_loss
915915
else:
916-
# TODO: list valid models in message down below
917916
raise ValueError(
918917
"could not infer spectral model from "
919918
"system.arrays[i].module_parameters. Check that "

0 commit comments

Comments
 (0)