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

[Network modifications] Fix: no exception should be thrown if boolean throwException is false #701

Merged
merged 6 commits into from
Feb 16, 2024

Conversation

colinepiloquet
Copy link
Member

@colinepiloquet colinepiloquet commented Feb 8, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

The boolean raise_exception is ignored when using network modifications.

What is the new behavior (if this is a feature change)?
When creating a feeder bay, if the boolean is true, an exception will be thrown, same for the creation of a line or a two windings transformer.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

@colinepiloquet colinepiloquet marked this pull request as draft February 8, 2024 08:37
@colinepiloquet
Copy link
Member Author

To be tested on creation of elements without bay

@colinepiloquet colinepiloquet marked this pull request as ready for review February 12, 2024 10:25
@EtienneLt EtienneLt changed the title [Network modifications] Fix: no exception should be thrown if boolean throwException is false [WIP][Network modifications] Fix: no exception should be thrown if boolean throwException is false Feb 13, 2024
@EtienneLt EtienneLt changed the title [WIP][Network modifications] Fix: no exception should be thrown if boolean throwException is false [Network modifications]< Fix: no exception should be thrown if boolean throwException is false Feb 13, 2024
@colinepiloquet colinepiloquet changed the title [Network modifications]< Fix: no exception should be thrown if boolean throwException is false [Network modifications] Fix: no exception should be thrown if boolean throwException is false Feb 13, 2024
@EtienneLt EtienneLt force-pushed the fix_throw_exception_create_feeder_bay branch 2 times, most recently from 0077a17 to 054af21 Compare February 16, 2024 09:55
colinepiloquet and others added 6 commits February 16, 2024 10:55
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
@EtienneLt EtienneLt force-pushed the fix_throw_exception_create_feeder_bay branch from 054af21 to 04cc366 Compare February 16, 2024 09:55
@EtienneLt EtienneLt merged commit 4ff1561 into main Feb 16, 2024
6 checks passed
@EtienneLt EtienneLt deleted the fix_throw_exception_create_feeder_bay branch February 16, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants