kqcircuits.util.error_on_cell

kqcircuits.util.error_on_cell.find_cells_with_error(layout: Layout) list[tuple[int, str, DPoint]][source]

Find cell indices and error messages for all cells in the layout that have called the raise_error_on_cell method.

Parameters:

layout (pya.Layout) – The layout.

Returns: List of (cell_index, error_message, error_position) tuples.

kqcircuits.util.error_on_cell.formatted_errors_on_cells(layout: Layout) str[source]

Generate a formatted string describing all errors raised on cells and where in the cell hierarchy these appear.

Parameters:

layout (pya.Layout) – The layout

Returns: Formatted multiline string

../_images/kqcircuits.util.error_on_cell.png