mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-07 12:56:26 +00:00
replace f-string with %
This commit is contained in:
@@ -304,7 +304,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
ids_file = ids(sys.argv[1])
|
ids_file = ids(sys.argv[1])
|
||||||
ifc_file = ifcopenshell.open(sys.argv[2])
|
ifc_file = ifcopenshell.open(sys.argv[2])
|
||||||
|
|
||||||
ids_file.validate(ifc_file, logger)
|
ids_file.validate(ifc_file, logger)
|
||||||
|
|
||||||
print(f"Validated {len(ids_file.specifications[0].requirements.terms)} IDS requirements on {len(ifc_file.by_type('IfcProduct'))} IFC elements. Results saved to {filename}")
|
print("Validated %s IDS requirements on %s IFC elements. Results saved to %s" % (len(ids_file.specifications[0].requirements.terms), len(ifc_file.by_type('IfcProduct')), filename))
|
||||||
Reference in New Issue
Block a user