From 5419d72a6a9e052bf27f7f6643218f8b6fbaaf9f Mon Sep 17 00:00:00 2001 From: atom3 Date: Fri, 30 Apr 2021 11:31:23 +0200 Subject: [PATCH] remove debug data --- src/ifcopenshell-python/ifcopenshell/ids.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/ids.py b/src/ifcopenshell-python/ifcopenshell/ids.py index e94fb6d614..1654b9179b 100644 --- a/src/ifcopenshell-python/ifcopenshell/ids.py +++ b/src/ifcopenshell-python/ifcopenshell/ids.py @@ -303,10 +303,8 @@ if __name__ == "__main__": logging.basicConfig(filename=filename, level=logging.INFO, format="%(message)s") logging.FileHandler(filename, mode='w') - # ids_file = ids(sys.argv[1]) - # ifc_file = ifcopenshell.open(sys.argv[2]) - ids_file = ids(r"C:\Users\artom\Desktop\Code\IFC sandbox\IDS, MVDxml samples\IDS_test_3.xml") - ifc_file = ifcopenshell.open(r"C:\Users\artom\Desktop\Code\IFC sandbox\IFC samples\IFC Artur.ifc") + ids_file = ids(sys.argv[1]) + ifc_file = ifcopenshell.open(sys.argv[2]) ids_file.validate(ifc_file, logger)