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

Fix multi substation sld svg #797

Merged
merged 5 commits into from
Jul 16, 2024
Merged

Conversation

CBiasuzzi
Copy link
Contributor

@CBiasuzzi CBiasuzzi commented Jul 3, 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) --> no need.

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

write_matrix_multi_substation_single_line_diagram_svgand get_matrix_multi_substation_single_line_diagram: errors are raised depending on the matrix_ids parameter (the 2D list of substation ids);
Tests were added to demonstrate the issue in a couple of cases.
On the java side the matrix's size, decoded from the python parameter, does not seem to be computed correctly.

What is the new behavior (if this is a feature change)?
The matrix's size on the Java side is computed correctly.

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

  • Yes
  • No

Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
@CBiasuzzi CBiasuzzi requested a review from So-Fras July 3, 2024 18:13
Copy link
Contributor

@So-Fras So-Fras left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@HugoKulesza HugoKulesza merged commit 8014db4 into main Jul 16, 2024
6 checks passed
@HugoKulesza HugoKulesza deleted the fix_multi_substation_sld_svg branch July 16, 2024 08:46
HugoKulesza added a commit that referenced this pull request Jul 16, 2024
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Co-authored-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
Co-authored-by: HugoKulesza <94374655+HugoKulesza@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants