From 03beb7f7c9b81e72ecd267ed74a862032cc99676 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 25 Oct 2026 23:33:37 +0900 Subject: [PATCH] =?UTF-8?q?fix(532-1):=20E01=20Source=20=EC=B8=A1=EC=A0=90?= =?UTF-8?q?=20=ED=96=89=20sequence=5Fnum=20=EC=97=86=EB=8A=94=20=EB=B3=B5?= =?UTF-8?q?=EC=82=AC=EB=B3=B8=20=EC=9D=BD=EA=B8=B0=20=E2=80=94=20row.get?= =?UTF-8?q?=20=EC=9C=BC=EB=A1=9C=20=EC=B0=A8=EB=A1=80=20=3D=20chainage=20?= =?UTF-8?q?=EC=A0=95=EB=A0=AC=20=C2=B7=20test=5F532=5F3=5Fe02=5Fground=202?= =?UTF-8?q?=20=EC=8B=A4=ED=8C=A8=20=ED=95=B4=EC=86=8C(=EC=9A=94=EA=B5=AC?= =?UTF-8?q?=20351)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- E01_StabRegister/E01_StabRegister_Source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/E01_StabRegister/E01_StabRegister_Source.py b/E01_StabRegister/E01_StabRegister_Source.py index c8e5d9261..70bb98bb7 100644 --- a/E01_StabRegister/E01_StabRegister_Source.py +++ b/E01_StabRegister/E01_StabRegister_Source.py @@ -71,7 +71,7 @@ def db_snapshot(root: Path) -> dict[str, Any]: def _cross_rows(root: Path) -> list[dict[str, Any]]: rows = [row for row in db_snapshot(root)["cross_sections"] if row["chainage_m"] is not None] - return sorted(rows, key=lambda row: (float(row["chainage_m"]), row["sequence_num"] or 0)) + return sorted(rows, key=lambda row: (float(row["chainage_m"]), row.get("sequence_num") or 0)) def _row_data(row: dict[str, Any]) -> dict[str, Any]: