mirror of https://github.com/KLayout/klayout.git
DRC enhancements: bug fixes
This commit is contained in:
parent
a582eabc22
commit
78dbabcde1
|
|
@ -32,9 +32,6 @@ module DRC
|
||||||
def finish(final)
|
def finish(final)
|
||||||
# reimplement
|
# reimplement
|
||||||
end
|
end
|
||||||
def destroy
|
|
||||||
# reimplement
|
|
||||||
end
|
|
||||||
def layout
|
def layout
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
@ -69,10 +66,6 @@ module DRC
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
|
||||||
@layout._destroy
|
|
||||||
end
|
|
||||||
|
|
||||||
def layout
|
def layout
|
||||||
@layout
|
@layout
|
||||||
end
|
end
|
||||||
|
|
@ -118,10 +111,6 @@ module DRC
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
|
||||||
@rdb._destroy
|
|
||||||
end
|
|
||||||
|
|
||||||
def rdb
|
def rdb
|
||||||
@rdb
|
@rdb
|
||||||
end
|
end
|
||||||
|
|
@ -1483,9 +1472,7 @@ module DRC
|
||||||
# finish what we got so far
|
# finish what we got so far
|
||||||
_finish(false)
|
_finish(false)
|
||||||
|
|
||||||
@def_output && @def_output.destroy
|
|
||||||
@def_output = nil
|
@def_output = nil
|
||||||
|
|
||||||
@def_output = _make_report(description, filename, cellname)
|
@def_output = _make_report(description, filename, cellname)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
@ -1597,7 +1584,7 @@ module DRC
|
||||||
if ! @def_output
|
if ! @def_output
|
||||||
if @def_layout
|
if @def_layout
|
||||||
# establish a new default output from the default layout on this occasion
|
# establish a new default output from the default layout on this occasion
|
||||||
@def_output = LayoutOutputChannel(self, @def_layout, cellname.to_s, nil)
|
@def_output = LayoutOutputChannel::new(self, @def_layout, cellname.to_s, nil)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@def_output.cellname = cellname.to_s
|
@def_output.cellname = cellname.to_s
|
||||||
|
|
@ -1639,9 +1626,7 @@ module DRC
|
||||||
# finish what we got so far
|
# finish what we got so far
|
||||||
_finish(false)
|
_finish(false)
|
||||||
|
|
||||||
@def_output && @def_output.destroy
|
|
||||||
@def_output = nil
|
@def_output = nil
|
||||||
|
|
||||||
@def_output = _make_target(arg, cellname)
|
@def_output = _make_target(arg, cellname)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
@ -2815,10 +2800,8 @@ CODE
|
||||||
ensure
|
ensure
|
||||||
|
|
||||||
@output_layers = []
|
@output_layers = []
|
||||||
@def_output && @def_output.destroy
|
|
||||||
@def_output = nil
|
@def_output = nil
|
||||||
if final
|
if final
|
||||||
@other_outputs.each { |o| o.destroy }
|
|
||||||
@other_outputs = []
|
@other_outputs = []
|
||||||
end
|
end
|
||||||
@show_l2ndb = nil
|
@show_l2ndb = nil
|
||||||
|
|
@ -3116,7 +3099,7 @@ CODE
|
||||||
channel = args.find { |a| a.is_a?(OutputChannel) }
|
channel = args.find { |a| a.is_a?(OutputChannel) }
|
||||||
if ! channel
|
if ! channel
|
||||||
if ! @def_output
|
if ! @def_output
|
||||||
@def_output = LayoutOutputChannel(self, self._output_layout, self._output_cell, nil)
|
@def_output = LayoutOutputChannel::new(self, self._output_layout, self._output_cell, nil)
|
||||||
end
|
end
|
||||||
channel = @def_output
|
channel = @def_output
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue