Merge remote-tracking branch 'origin/sub_laptop_1' into main_laptop_1
This commit is contained in:
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user