powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
52 stars 10 forks source link

fixes LinePositionDataFrameProvider #772

Closed CBiasuzzi closed 1 month ago

CBiasuzzi commented 1 month ago

Please check if the PR fulfills these requirements

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?

lines with n LinePosition extensions result in n-1 entries in the linePosition extension dataframe.

What is the new behavior (if this is a feature change)?

takes into account the last (nth) LinePosition.

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

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information: