"proc is_xschem_file" reports SYMBOL if file contains <=2 instances of symbols. Need to figure out a different, simple and reliable way to recognize symbols that contain a title and/or a "architecture" symbol. For the time being reverted to previous state. Thanks to JL for pointing out the issue

This commit is contained in:
Stefan Schippers 2020-10-16 22:47:27 +02:00
parent 666f05c3d5
commit a0661be86c
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ proc is_xschem_file {f} {
} }
if { $score > 6 } { set ret 1} ;# Heuristic decision :-) if { $score > 6 } { set ret 1} ;# Heuristic decision :-)
if { $ret } { if { $ret } {
if { $instances>2} { if { $instances} {
set ret SCHEMATIC set ret SCHEMATIC
} else { } else {
set ret SYMBOL set ret SYMBOL