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

Rename module #264

Merged
merged 1 commit into from
Aug 21, 2020
Merged

Rename module #264

merged 1 commit into from
Aug 21, 2020

Conversation

rouille
Copy link
Collaborator

@rouille rouille commented Aug 21, 2020

Purpose

Organize the TAMU network constants. Dictionaries relating geographical zones have been defined in * powersimdata/network/usa_tamu/constants.py*. Other dictionaries needs to be defined for generators (e.g. generator type to color) and, for this reason, I have created a powersimdata/network/usa_tamu/constants/ folder and rename powersimdata/network/usa_tamu/constants.py* to powersimdata/network/usa_tamu/constants/zones.py*.

What is the code doing?

There is no code. One module has been moved and renamed. An import statement has been updated in * powersimdata/design/scenario_info.py*

Time estimate

2min

Note

Some import statements need to be updated in PostREISE:

(PostREISE) [~/CEM/PostREISE] (develop) brdo$ grep -nR "powersimdata.network.usa_tamu.constants" postreise
postreise/analyze/generation/summarize.py:8:from powersimdata.network.usa_tamu.constants import (

A following PR will come shortly.

@rouille rouille added the refactor Code that is being refactored label Aug 21, 2020
@rouille rouille added this to the WTT90s milestone Aug 21, 2020
@rouille rouille requested review from BainanXia and jenhagg August 21, 2020 21:32
@rouille rouille merged commit d13c158 into develop Aug 21, 2020
@rouille rouille deleted the ben/reorganize branch August 21, 2020 21:55
@ahurli ahurli mentioned this pull request Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Code that is being refactored
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants