Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed parsing from beautifulsoup to lxml #232

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
bug: cap / plant,idx mrid instead of name
  • Loading branch information
jvanelteren committed Jan 13, 2023
commit 7caf7c15e5a70928e11e77848faace9d123cc0f0
2 changes: 1 addition & 1 deletion entsoe/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def _parse_installed_capacity_per_plant(element):
series['Installed Capacity [MW]'] = \
float(find(element, 'quantity'))

series.name = find(element, 'registeredResource.name')
series.name = find(element, 'registeredResource.mRID')

return series

Expand Down