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 dc4bfec commit a804275Copy full SHA for a804275
vtr_flow/scripts/python_libs/vtr/flow.py
@@ -130,6 +130,10 @@ def run(
130
# Verify that files are Paths or convert them to Paths and check that they exist
131
architecture_file = vtr.util.verify_file(architecture_file, "Architecture")
132
circuit_file = vtr.util.verify_file(circuit_file, "Circuit")
133
+ if architecture_file.suffix != ".xml":
134
+ raise vtr.VtrError(
135
+ "Expected Architecture file as second argument (was {})".format(architecture_file.name)
136
+ )
137
power_tech_file = (
138
vtr.util.verify_file(power_tech_file, "Power") if power_tech_file else None
139
)
0 commit comments