Skip to content

Commit

Permalink
Accept more widely-used SPICE file extensions in plot_nets
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosavola committed Nov 21, 2023
1 parent d964590 commit 733241c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gplugins/klayout/plot_nets.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def plot_nets(
l2n = kdb.LayoutToNetlist()
l2n.read(str(filepath))
netlist = l2n.netlist()
case ".spi" | ".spice":
case ".cir" | ".sp" | ".spi" | ".spice":
reader = kdb.NetlistSpiceReader(NoCommentReader())
netlist = kdb.Netlist()
netlist.read(str(filepath), reader)
Expand Down

0 comments on commit 733241c

Please sign in to comment.