Skip to content

Improve operational point name resolution#16023

Open
achrafmohye wants to merge 2 commits intodevfrom
ame/table/op-name-flicker-uic
Open

Improve operational point name resolution#16023
achrafmohye wants to merge 2 commits intodevfrom
ame/table/op-name-flicker-uic

Conversation

@achrafmohye
Copy link
Copy Markdown
Contributor

Closes #15712

Signed-off-by: achrafmohye <a.mohyeddine@gmail.com>
@achrafmohye achrafmohye requested a review from a team as a code owner March 31, 2026 10:20
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Mar 31, 2026
Comment on lines +227 to +231
const effectiveOp =
matchingOp ??
('operational_point' in pathStep.location && stableOPs
? stableOPs.find((op) => matchPathStepAndOp(pathStep.location, buildOpMatchParams(op)))
: undefined);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Instead of adding this, i think we could change the way we find the matchingOp by either retrieving it from the pathStepOps or the stableOPs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i propose this fix what do you think ?

Signed-off-by: achrafmohye <a.mohyeddine@gmail.com>
@achrafmohye achrafmohye requested a review from SarahBellaha April 1, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:front Work on Standard OSRD Interface modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Time stops Table : Operational point name briefly display its UIC code when entering time without seconds

2 participants