Skip to content

#624 Rename build_load_data to build_electricity_demand#642

Merged
fneum merged 9 commits intoPyPSA:masterfrom
Ahmad-Wahid:rename_build_load_data_2_build_electricity_demand
Apr 19, 2023
Merged

#624 Rename build_load_data to build_electricity_demand#642
fneum merged 9 commits intoPyPSA:masterfrom
Ahmad-Wahid:rename_build_load_data_2_build_electricity_demand

Conversation

@Ahmad-Wahid
Copy link
Copy Markdown
Contributor

fixes #624

Changes proposed in this Pull Request

  • Renamed build_load_data to build_electricity_demand

Copy link
Copy Markdown
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

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

@Ahmad-Wahid, cheers for this contribution!

There are a few more references to build_load_data in the repository (e.g. in the documentation). Could you change that to build_electricity_demand, too?

@Ahmad-Wahid
Copy link
Copy Markdown
Contributor Author

sure, I will update that.

@Ahmad-Wahid Ahmad-Wahid requested a review from fneum April 14, 2023 19:42
@Ahmad-Wahid
Copy link
Copy Markdown
Contributor Author

@fneum hey I'm not sure about this pre-commit.ci thing. It's failed. would you tell that how can I fix it? I'm still new to git

Copy link
Copy Markdown
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

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

You don't need to worry about the pre-commit. It's likely because of the version update of docformatter.

There are 3 more references to build_load_data that should be adapted:

  • doc/preparation.rst
  • doc/release_notes.rst
  • scripts/build_electricity_demand.py -> mock_snakemake

Could you also add a release note in doc/release_notes.rst mentioning the renaming?

Then, we're good to merge.

- added a released note about the renaming of build_load_data to build_electricity_demand
@Ahmad-Wahid Ahmad-Wahid requested a review from fneum April 16, 2023 00:36
@fneum fneum merged commit d0c86a7 into PyPSA:master Apr 19, 2023
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.

Rename build_load_data to build_electricity_demand

2 participants