mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 05:52:33 +00:00
Add sentences to exempt IFC files from BIMTester auditing
This commit is contained in:
@@ -58,7 +58,7 @@ class TestPurger:
|
||||
with open(filename, 'w') as new_file:
|
||||
for line in old_file:
|
||||
is_purged = False
|
||||
if 'Given the IFC file ' in line:
|
||||
if 'Given the IFC file ' in line and 'exists' not in line:
|
||||
filename = line.split('"')[1]
|
||||
print('Loading file {} ...'.format(filename))
|
||||
self.file = ifcopenshell.open(filename)
|
||||
|
||||
Reference in New Issue
Block a user