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

Add fixes to overcome errors when datasets are empty #85

Merged
merged 2 commits into from
Nov 17, 2022
Merged

Add fixes to overcome errors when datasets are empty #85

merged 2 commits into from
Nov 17, 2022

Conversation

davide-f
Copy link
Collaborator

Closes # (if applicable).

Change proposed in this Pull Request

While executing the code for general non-EU zones, sometimes empty dataframes were returned leading to issues because of missing columns and similar problems.
In this PR, we aimed at solving some of those that have been encountered.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Other

Checklist

  • I have added a note to release notes doc/release_notes.rst.
  • I have used pre-commit run --all to lint/format/check my contribution
  • I have documented the effects of my code changes in the documentation doc/.
  • I have adjusted the docstrings in the code appropriately.

@FabianHofmann
Copy link
Contributor

great thanks @davide-f

@FabianHofmann FabianHofmann merged commit a7179f6 into PyPSA:master Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants