Comment cleanup

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
Christoph Auer 2024-12-17 17:13:38 +01:00
parent 2c2026d3d2
commit 7649ba7a76

View File

@ -328,16 +328,7 @@ class LayoutPostprocessor:
contained.append(cluster)
if contained:
# # Sort contained clusters by minimum cell ID:
# contained.sort(
# key=lambda cluster: (
# min(cell.id for cell in cluster.cells)
# if cluster.cells
# else sys.maxsize
# )
# )
# Sort contained clusters left-to-right, top-to-bottom
# Sort contained clusters by minimum cell ID:
contained = self._sort_clusters(contained, mode="id")
special.children = contained