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 " \]"
|
||||
if {$gidx == $glen} {
|
||||
puts $fjson " \]"
|
||||
puts $fjson " \]"
|
||||
} else {
|
||||
puts $fjson " \],"
|
||||
puts $fjson " \],"
|
||||
}
|
||||
}
|
||||
if {$glen > 0} {
|
||||
puts $fjson " \]"
|
||||
}
|
||||
if {$kidx == $nkeys} {
|
||||
puts $fjson " \]"
|
||||
} else {
|
||||
|
|
@ -275,15 +273,13 @@ proc netgen::convert_to_json {filename lvs_final} {
|
|||
puts $fjson " \],"
|
||||
}
|
||||
}
|
||||
puts $fjson " \]"
|
||||
if {$gidx == $glen} {
|
||||
puts $fjson " \]"
|
||||
puts $fjson " \]"
|
||||
} else {
|
||||
puts $fjson " \],"
|
||||
puts $fjson " \],"
|
||||
}
|
||||
}
|
||||
if {$glen > 0} {
|
||||
puts $fjson " \]"
|
||||
}
|
||||
if {$kidx == $nkeys} {
|
||||
puts $fjson " \]"
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue