powsybl / powsybl-core

A framework to build power system oriented software
https://www.powsybl.org
Mozilla Public License 2.0
124 stars 40 forks source link

Disambiguate files on import #3085

Closed jonenst closed 1 month ago

jonenst commented 3 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

https://github.com/powsybl/powsybl-core/issues/989

3082

2959

others...

What kind of change does this PR introduce? bug fix

What is the current behavior?

$ itools convert-network --input-file foo.xiidm # will wrongly use foo.xml from cgmes if it exists

What is the new behavior (if this is a feature change)? always use the file specified by the user in the command line

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

sonarcloud[bot] commented 3 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
59.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

jonenst commented 3 months ago

Need more tests

flo-dup commented 1 month ago

Replaced by #3102