MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / netlist_line

Method netlist_line

SLiCAP/schematic/library_item.py:48–56  ·  view source on GitHub ↗

Return the netlist line for this library link.

(self)

Source from the content-addressed store, hash-verified

46 self.setToolTip(self.file_path)
47
48 def netlist_line(self) -> str:
49 """Return the netlist line for this library link."""
50 path = self.file_path
51 if " " in path:
52 path = f'"{path}"'
53 parts = [f".{self.directive}", path]
54 if self.corner:
55 parts.append(self.corner)
56 return " ".join(parts)
57
58 def itemChange(self, change, value):
59 if change == QGraphicsItem.ItemPositionChange:

Callers 1

build_netlistFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected