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

Update gas data documentation #1134

Merged
merged 5 commits into from
Jul 19, 2023
Merged

Conversation

pieterhexen
Copy link
Contributor

@pieterhexen pieterhexen commented Jul 19, 2023

Fixed typos, added some missing function documentations

Before merging into dev-branch, please make sure that

  • the CHANGELOG.rst was updated.
  • new and adjusted code is formated using black and isort.
  • the Dataset-version is updated when existing datasets are adjusted.
  • the branch was merged into the
    continuous-integration/run-everything-over-the-weekend-branch.
  • the workflow is running successful in test mode.
  • the workflow is running successful in Everything mode.

@pieterhexen pieterhexen requested a review from gnn July 19, 2023 07:55
gnn added 3 commits July 19, 2023 12:55
The line only contains the word `node` which breaks the Python file and
all other files trying to import it, because Python thinks that's an
identifier and errors out, since the name isn't defined anywhere.
It's probably just a copy paste error or a typo that snuck into the
commit.
And a superfluous line that doesn't conform to `black`'s style.
All done by running `black`.
Thanks to the fact that the expressions in f-strings are just Python
code which is somewhat whitespace agnostic, one can insert line breaks
and spaces after the opening and before the closing curly braces without
changing the resulting string.
Helps keep the line lengths below 80 characters.
@@ -1498,17 +1516,19 @@ def calculate_ocgt_capacities():
df_ocgt = df_ocgt.groupby(by=["bus0", "bus1"], as_index=False).sum()

return df_ocgt

node
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That tiny node was what broke the tests. :) Fixed in 8146d92. ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing :)

@gnn gnn merged commit 9d98a54 into dev Jul 19, 2023
5 checks passed
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