Corrected new JSON file output format from netgen.

This commit is contained in:
Tim Edwards
2017-03-03 09:11:30 -05:00
parent a0f1b4cc92
commit a7dcb4ef45
+6 -10
View File
@@ -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 {