Skip to content

Commit

Permalink
start fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse committed Sep 1, 2020
1 parent 8149cda commit 73854a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pvlib/modelchain.py
Expand Up @@ -1013,8 +1013,7 @@ def complete_irradiance(self, weather):

return self


def _prep_inputs_solar_pos(self, **kwargs):
def _prep_inputs_solar_pos(self, kwargs):
"""
Assign solar position
"""
Expand Down Expand Up @@ -1088,7 +1087,6 @@ def _assign_total_irrad(self, data):
self.total_irrad = data[key_list].copy()
return self


def prepare_inputs(self, weather):
"""
Prepare the solar position, irradiance, and weather inputs to
Expand Down Expand Up @@ -1254,7 +1252,7 @@ def prepare_temperature(self, data=None):
"Incomplete irradiance data for cell temperature model."
" Provide total_irrad['poa_global'] (preferred) or"
" attribute effective_irradiance.")
self.cell_temperature = self.temperature_model()
self.temperature_model()
return self

def run_model(self, weather):
Expand Down

0 comments on commit 73854a7

Please sign in to comment.