We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 574ff90 commit b08f444Copy full SHA for b08f444
vtr_flow/scripts/upgrade_arch.py
@@ -61,7 +61,7 @@ def main():
61
args = parse_args()
62
63
print args.xml_file
64
- parser = ET.XMLParser()
+ parser = ET.XMLParser(remove_blank_text=True)
65
root = ET.parse(args.xml_file, parser)
66
67
root_tags = root.findall(".")
@@ -934,7 +934,10 @@ def swap_tags(tile, pb_type):
934
if arch.findall('./tiles'):
935
return False
936
937
- tiles = ET.SubElement(arch, 'tiles')
+ models = arch.find('./models')
938
+
939
+ tiles = ET.Element('tiles')
940
+ models.addnext(tiles)
941
942
top_pb_types = []
943
for pb_type in arch.iter('pb_type'):
0 commit comments