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

Feature/link capacity added #18

Merged
merged 23 commits into from
Oct 31, 2024
Merged

Feature/link capacity added #18

merged 23 commits into from
Oct 31, 2024

Conversation

mehdiwahada
Copy link
Contributor

No description provided.

Copy link
Contributor

@MartinBelthle MartinBelthle left a comment

Choose a reason for hiding this comment

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

Minor remarks :)

requirements-dev.txt Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
tests/output/geometric_law_distrib.png Outdated Show resolved Hide resolved
tests/output/uniform_law_distrib.png Outdated Show resolved Hide resolved
src/antares/tsgen/ts_generator.py Outdated Show resolved Hide resolved
src/antares/tsgen/ts_generator.py Show resolved Hide resolved
src/antares/tsgen/ts_generator.py Outdated Show resolved Hide resolved
src/antares/tsgen/ts_generator.py Outdated Show resolved Hide resolved
tests/test_unit.py Outdated Show resolved Hide resolved
tests/test_unit.py Outdated Show resolved Hide resolved
Copy link
Contributor

@MartinBelthle MartinBelthle left a 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 :)

@@ -1,8 +1,11 @@
-r requirements.txt

black~=23.7.0
isort~=5.12.0
matplotlib>=3.5.1
Copy link
Contributor

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


lengths = _check_lengths(link_capacity.outage_gen_params)

if len(lengths) != 1:
Copy link
Contributor

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 :)

@MartinBelthle MartinBelthle self-requested a review October 31, 2024 14:58
@mehdiwahada mehdiwahada merged commit b0ca796 into main Oct 31, 2024
3 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