fix(B05 종단): 추가 측점 화면 확인 고침 — 되돌리기 신호 · 열 때 다시 맞춤 · 옛 측점 옮기기 제외 (368-3)

- 되돌리기 · 다시하기 뒤 추가 측점 바뀜 신호(다른 되살림 뒤 한 차례 늦춤)
- 종단 보기 열 때 저장분 도착 뒤 측점 계획 다시 맞춤
- 옛 비정규 측점 옮기기(migrate)가 저장된 추가 측점을 「기타」 구조물로 만들던 흠 — 심는 자리에 추가 측점 포함

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013QyNXY2TUKXCFMwAca2APG
This commit is contained in:
2026-10-17 12:58:16 +09:00
co-authored by Claude Opus 5.5
parent c8be383428
commit f154f57880
4 changed files with 25 additions and 2 deletions
+6 -1
View File
@@ -256,10 +256,15 @@ async def migrate_structures(project_id: UUID, payload: StructureMigrateRequest)
revision, existing = load_structures(root)
migrated_before = load_migrated_legacy(root)
# 정본이 이미 심는 자리(측점 계획 · 323-7) — 이름이 아니라 자리로 가름(옛 이름 되짚기 걷음)
# · 추가 측점(368-2 · 이름 없는 일반측점)도 심는 자리 — 「기타」 구조물로 옮기지 않음
from B05_Profile.B05_Profile_Plus_Stations import plus_chainages
planted = [
float(station["chainage_m"])
for station in plan_stations(
read_pipe_points_file(pipe_points_path_in(Path(root))), existing
read_pipe_points_file(pipe_points_path_in(Path(root))),
existing,
plus_chainages(root),
)
]
plan = migrate_irregular_stations(payload.stations, planted)