We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d0559 commit e244343Copy full SHA for e244343
pvlib/bifacial.py
@@ -176,11 +176,11 @@ def build(report, pvarray):
176
177
@staticmethod
178
def merge(reports):
179
- """Works for dictionary reports. Merges the reports list of
180
- dictionaries by flattening the lists for each key into a single
+ """Works for dictionary reports. Merges the reports list of
+ dictionaries by flattening the lists for each key into a single
181
super list. Returns a dictionary with two list values."""
182
# Dictionary comprehension obviates the need to check if there are more
183
# than one report, and if one of the elements in reports is None.
184
- report = {k:[item for d in reports for item in d[k]]
+ report = {k: [item for d in reports for item in d[k]]
185
for k in reports[0].keys()}
186
return report
0 commit comments