Skip to content

Commit e71fca3

Browse files
committed
Fix doctests for run_model_from_poa and run_model_from_effective_irradiance
1 parent c37a3a3 commit e71fca3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

pvlib/modelchain.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,9 @@ def run_model_from_poa(self, data):
17831783
... 'poa_diffuse': [300, 300],
17841784
... },
17851785
... index=poa1.index)
1786-
>>> mc.run_model_from_poa([poa1, poa2]) # doctest: +ELLIPSIS
1786+
>>> mc.run_model_from_poa(
1787+
... [poa1, poa2]
1788+
... ) # doctest: +ELLIPSIS
17871789
ModelChain: ...
17881790
17891791
Notes
@@ -1940,7 +1942,9 @@ def run_model_from_effective_irradiance(self, data):
19401942
... 'wind_speed': [1.8, 1.2],
19411943
... },
19421944
... index=eff1.index)
1943-
>>> mc.run_model_from_effective_irradiance([eff1, eff2]) # doctest: +ELLIPSIS
1945+
>>> mc.run_model_from_effective_irradiance(
1946+
... [eff1, eff2]
1947+
... ) # doctest: +ELLIPSIS
19441948
ModelChain: ...
19451949
19461950
Notes

0 commit comments

Comments
 (0)