This script inspects the input files and modifies them such that they adhere to the new input file specification used by the framework after merge of merge request !TODO New input format.
This script inspects the input files and modifies them such that they adhere to the new input file specification used by the framework after merge of merge request !24 New input format.
"""
"""
importos.path
importos.path
...
@@ -120,3 +120,26 @@ for directory in changed_topologies:
...
@@ -120,3 +120,26 @@ for directory in changed_topologies:
print(f"Modified topology {directory}!")
print(f"Modified topology {directory}!")
forfileininvalid_topologies:
forfileininvalid_topologies:
print(f"Topology {file} breaks some part of the input file specification!")
print(f"Topology {file} breaks some part of the input file specification!")