We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6561ddf commit 089a78eCopy full SHA for 089a78e
1 file changed
src/python_netlist/netlist.py
@@ -76,7 +76,7 @@ def check_orphans(self, min_pins=2):
76
"""return a list of nets that have less than min_pins connections"""
77
netlist = self.netlist
78
return {n: netlist[n] for n in netlist if
79
- len(netlist[n]) < min_pins and not (n.startswith('NC_') or n.endswith('_NC') or ('.NC_' in n))}
+ len(netlist[n]) < min_pins and not (n.startswith('NC_') or ('_NC' in n) or ('.NC_' in n))}
80
81
82
if __name__ == '__main__':
0 commit comments