Improve conductor table rendering

This commit is contained in:
Daniel Rojas 2022-08-05 17:05:20 +02:00 committed by Laurier Loiselle
parent 38f8147a7f
commit 93f0605506
No known key found for this signature in database
GPG Key ID: 345920CC72089A3F

View File

@ -283,8 +283,10 @@ def gv_conductor_table(cable) -> Table:
cells_above = [
Td(" " + ", ".join(ins), align="left"),
Td(" "), # increase cell spacing here
Td(bom_bubble(wire.bom_id)) if cable.category == "bundle" else None,
Td(":".join([wi for wi in wireinfo if wi is not None and wi != ""])),
Td(" "), # increase cell spacing here
Td(", ".join(outs) + " ", align="right"),
]
cells_above = [cell for cell in cells_above if cell is not None]