-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/link capacity added #18
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor remarks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 minor changes and it will be okay for me :)
requirements-dev.txt
Outdated
@@ -1,8 +1,11 @@ | |||
-r requirements.txt | |||
|
|||
black~=23.7.0 | |||
isort~=5.12.0 | |||
matplotlib>=3.5.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can remove matplotlib
from the dependencies + the import that's now useless inside the file test_duration_generator.py
src/antares/tsgen/ts_generator.py
Outdated
|
||
lengths = _check_lengths(link_capacity.outage_gen_params) | ||
|
||
if len(lengths) != 1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also add this inside the _check_lenghts
method you've created it would be nice :)
No description provided.