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 load changes - dynamic file choice based on user parameters #275

Merged
merged 47 commits into from
Mar 26, 2022

Conversation

pz-max
Copy link
Member

@pz-max pz-max commented Feb 17, 2022

Closes # (if applicable).

Changes proposed in this Pull Request

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Newly introduced dependencies are added to envs/environment.yaml and envs/environment.docs.yaml.
  • Changes in configuration options are added in all of config.default.yaml, config.tutorial.yaml, and test/config.test1.yaml.
  • Changes in configuration options are also documented in doc/configtables/*.csv and line references are adjusted in doc/configuration.rst and doc/tutorial.rst.
  • A note for the release notes doc/release_notes.rst is amended in the format of previous release notes.

@pz-max pz-max changed the title Giacfalk main Add load changes - dynamic file choice based on user parameters Feb 17, 2022
@pz-max
Copy link
Member Author

pz-max commented Feb 17, 2022

based on PR #218

@pz-max
Copy link
Member Author

pz-max commented Feb 22, 2022

@davide-f implemented your suggestion, please have a look. Just some weird CI issues remaining... Any idea how to deal with them?

@pz-max
Copy link
Member Author

pz-max commented Feb 22, 2022

@giacfalk FYI, just about to finalize your contribution. Thanks for adding this feature 👍

Copy link
Collaborator

@euronion euronion left a comment

Choose a reason for hiding this comment

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

Hi there!

Thanks for your PR. @pz-max asked me to review it as I was also responsible for creating the demand datasets in the first place ;-).

There are a few things that need attention, some that should be given attention, and some that could be given attention. See the specific comments.

scripts/_helpers.py Outdated Show resolved Hide resolved
scripts/_helpers.py Show resolved Hide resolved
scripts/_helpers.py Show resolved Hide resolved
scripts/add_electricity.py Outdated Show resolved Hide resolved
@pz-max
Copy link
Member Author

pz-max commented Feb 24, 2022

Great thanks @euronion for the concise feedback. We will address all of the points very soon 👍🏽

@davide-f davide-f added this to the Version 0.2 milestone Mar 10, 2022
pz-max and others added 7 commits March 17, 2022 16:56
…rs (#289)

* Restyled by autopep8

* Restyled by black

* Restyled by isort

* Restyled by reorder-python-imports

* Restyled by whitespace

* Restyled by yapf

Co-authored-by: Restyled.io <commits@restyled.io>
@pz-max
Copy link
Member Author

pz-max commented Mar 18, 2022

@euronion just adressed all requested changes whcih are passing the tests. Let me know if I am missing something important or if you have any further recommendations. :)

@pz-max
Copy link
Member Author

pz-max commented Mar 19, 2022

Is this function redundant now?

I guess no. It's just required for the Snakefile. I see this function as well as the demand stuff moving to a new .py script in future. Let's talk about that maybe at the next workflow meeting?

@davide-f davide-f modified the milestones: Version 0.2, Version 0.3 Mar 20, 2022
scripts/_helpers.py Outdated Show resolved Hide resolved
scripts/download_osm_data.py Show resolved Hide resolved
@davide-f davide-f merged commit af676ff into main Mar 26, 2022
@pz-max pz-max deleted the giacfalk-main branch March 26, 2022 21:08
pz-max pushed a commit that referenced this pull request Sep 24, 2022
Add load changes - dynamic file choice based on user parameters
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.

None yet

5 participants