Corrected new JSON file output format from netgen.
This commit is contained in:
parent
a0f1b4cc92
commit
a7dcb4ef45
|
|
@ -194,15 +194,13 @@ proc netgen::convert_to_json {filename lvs_final} {
|
||||||
puts $fjson " \],"
|
puts $fjson " \],"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
puts $fjson " \]"
|
||||||
if {$gidx == $glen} {
|
if {$gidx == $glen} {
|
||||||
puts $fjson " \]"
|
puts $fjson " \]"
|
||||||
} else {
|
} else {
|
||||||
puts $fjson " \],"
|
puts $fjson " \],"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if {$glen > 0} {
|
|
||||||
puts $fjson " \]"
|
|
||||||
}
|
|
||||||
if {$kidx == $nkeys} {
|
if {$kidx == $nkeys} {
|
||||||
puts $fjson " \]"
|
puts $fjson " \]"
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -275,15 +273,13 @@ proc netgen::convert_to_json {filename lvs_final} {
|
||||||
puts $fjson " \],"
|
puts $fjson " \],"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
puts $fjson " \]"
|
||||||
if {$gidx == $glen} {
|
if {$gidx == $glen} {
|
||||||
puts $fjson " \]"
|
puts $fjson " \]"
|
||||||
} else {
|
} else {
|
||||||
puts $fjson " \],"
|
puts $fjson " \],"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if {$glen > 0} {
|
|
||||||
puts $fjson " \]"
|
|
||||||
}
|
|
||||||
if {$kidx == $nkeys} {
|
if {$kidx == $nkeys} {
|
||||||
puts $fjson " \]"
|
puts $fjson " \]"
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue