Closed sebastian-goeldi closed 2 weeks ago
The PR fixes the string representation of Port objects by replacing the layer name logic with the layer_info property, simplifying the code and making it more consistent.
classDiagram
class Port {
- name: String
- dwidth: Float
- dcplx_trans: Transformation
- layer_info: LayerInfo
- port_type: PortType
+ hash() bytes
+ __repr__() str
+ print(type: Literal["dbu", "um", None]) void
}
note for Port "Updated __repr__ method to use layer_info instead of layer name logic"
Change | Details | Files |
---|---|---|
Updated Port.repr() method to use layer_info property |
|
src/kfactory/kcell.py |
Summary by Sourcery
Bug Fixes: