mirror of https://github.com/KLayout/klayout.git
WIP: bugfixes
1.) Don't error out in batch mode (without view)
2.) Don't add nets to connectivity when they just
serve for device recognition
This commit is contained in:
parent
f931b6a1c1
commit
3c4c1b9c4f
|
|
@ -1423,7 +1423,7 @@ CODE
|
|||
_before_cleanup
|
||||
|
||||
# show the data in the browser
|
||||
if @show_l2ndb && @netter && @netter.l2n_data
|
||||
if view && @show_l2ndb && @netter && @netter.l2n_data
|
||||
|
||||
# NOTE: to prevent the netter destroying the database, we need to take it
|
||||
l2ndb = _take_data
|
||||
|
|
|
|||
|
|
@ -96,6 +96,8 @@ module DRC
|
|||
|
||||
register_layer(a.data)
|
||||
register_layer(b.data)
|
||||
@l2n.connect(a.data)
|
||||
@l2n.connect(b.data)
|
||||
@l2n.connect(a.data, b.data)
|
||||
|
||||
end
|
||||
|
|
@ -115,6 +117,7 @@ module DRC
|
|||
l.requires_region("Netter#connect_global (layer argument)")
|
||||
|
||||
register_layer(l.data)
|
||||
@l2n.connect(l.data)
|
||||
@l2n.connect_global(l.data, name)
|
||||
|
||||
end
|
||||
|
|
@ -410,7 +413,6 @@ module DRC
|
|||
|
||||
# every layer gets registered and intra-layer connections are made
|
||||
@l2n.register(data, "l" + id.to_s)
|
||||
@l2n.connect(data)
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue